hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
dbaron%fas.harvard.edu
b602d311d7
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
...
git-svn-id: svn://10.0.0.236/trunk@110096 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 22:46:21 +00:00
dbaron%fas.harvard.edu
397b3fb021
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
...
git-svn-id: svn://10.0.0.236/trunk@109107 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:54:05 +00:00
dbaron%fas.harvard.edu
e619d6fc7c
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
...
git-svn-id: svn://10.0.0.236/trunk@107856 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:51:45 +00:00
pierre%netscape.com
0ef28aebb3
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.
...
git-svn-id: svn://10.0.0.236/trunk@107446 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu
9b135c4afe
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
...
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
ducarroz%netscape.com
de141f84d8
Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@106210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:19:21 +00:00
hyatt%netscape.com
ab0e4e56d4
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dougt%netscape.com
1f7520e927
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
...
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu
efc4c963e6
making the "Enabling quirk stylesheet" message only show up for some
...
people who care (even in debug builds). bug 100983, r=dmose, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103642 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:36:43 +00:00
waterson%netscape.com
25df26f9d3
Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@102820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:19:41 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
dbaron%fas.harvard.edu
3485888237
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
...
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
glazman%netscape.com
ea8347db88
BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@100205 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 14:34:55 +00:00
glazman%netscape.com
88bfc464bc
backing out fix for 88681 due to merge conflicts
...
git-svn-id: svn://10.0.0.236/trunk@100104 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:53:15 +00:00
glazman%netscape.com
77425d8395
BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@100101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:38:30 +00:00
hyatt%netscape.com
6206b55be6
Fix for 90081, r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
dbaron%fas.harvard.edu
88810ef1eb
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
...
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
attinasi%netscape.com
77a03ef874
Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@96568 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:34:17 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
pierre%netscape.com
287fc1dc9e
43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
attinasi%netscape.com
7487c96bf8
Fix for problem where a StyleContext changes its CRC and does not update the styel context cache. b=73553 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@92292 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 14:06:27 +00:00
hyatt%netscape.com
85789f4550
Fix for 73695. r=danm, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@90721 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:30:03 +00:00
attinasi%netscape.com
499e5079c3
Avoid checking for duplicates when adding a context to the cache (perf. reasons). b=72217, r=jag, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@90669 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 19:58:51 +00:00
hyatt%netscape.com
8244a8912e
Fix for 67739. r=pierre,attinasi sr=ben
...
git-svn-id: svn://10.0.0.236/trunk@87131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:24:47 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
buster%netscape.com
31a79a4925
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
git-svn-id: svn://10.0.0.236/trunk@84973 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:10:04 +00:00
rods%netscape.com
a6e0d47c5a
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
fe76e144b4
Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627
...
git-svn-id: svn://10.0.0.236/trunk@84272 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:13:49 +00:00
mkaply%us.ibm.com
4caaef016a
OS/2 TB breakage
...
PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@83980 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:39:03 +00:00
attinasi%netscape.com
fcdcfc547e
Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83969 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:34:44 +00:00
dbaron%fas.harvard.edu
1fab9ffaf8
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
...
git-svn-id: svn://10.0.0.236/trunk@82417 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:13:53 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
3d3f35513d
Fixing printf problem with MOZ_TIMER_DEBUGLOG
...
git-svn-id: svn://10.0.0.236/trunk@81958 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:11:27 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
hyatt%netscape.com
a729ae916b
Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
...
git-svn-id: svn://10.0.0.236/trunk@76207 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:28:02 +00:00
dbaron%fas.harvard.edu
88967dd6f9
Add new style classes to the leak/bloat logs. This should increase the bloat statistics. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@73097 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:57:39 +00:00
attinasi%netscape.com
b50c868ad4
Eliminated warnings from recent checkin (trivial changes).
...
git-svn-id: svn://10.0.0.236/trunk@72884 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:14:32 +00:00
attinasi%netscape.com
84978456a9
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
...
git-svn-id: svn://10.0.0.236/trunk@72803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:44:59 +00:00
attinasi%netscape.com
3da8003982
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
...
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
hyatt%netscape.com
bce78a9b6f
Fixing bugs in skin switching.
...
git-svn-id: svn://10.0.0.236/trunk@71005 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 20:03:14 +00:00
shaver%mozilla.org
f792546214
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_.
git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
attinasi%netscape.com
9657bf7bed
Implemented Style Size Dump. r=rickg b=26565
...
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
attinasi%netscape.com
1514757cda
Support for enabling / Disabling the timer. r=pierre b=25406
...
git-svn-id: svn://10.0.0.236/trunk@60388 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:21:36 +00:00
attinasi%netscape.com
5a392aceea
Backing out the change I accidentally checked in.
...
git-svn-id: svn://10.0.0.236/trunk@60330 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:47:36 +00:00
attinasi%netscape.com
b837f85366
Support for enabling / Disabling the timer. r=pierre b=25406
...
git-svn-id: svn://10.0.0.236/trunk@60328 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:21:55 +00:00
nisheeth%netscape.com
3785d66606
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
...
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00