Commit Graph

535 Commits

Author SHA1 Message Date
attinasi@netscape.com
6e83df59c7 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
5c0a41d7fe Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
dbaron@fas.harvard.edu
15267f2b5c 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
be2331b1ae 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
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
attinasi@netscape.com
1f6517f92d 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
291aef82a1 OS/2 TB breakage
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi@netscape.com
424225280e 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
21ad843c26 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
0462ea4ce8 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
4d70af7640 Fixing printf problem with MOZ_TIMER_DEBUGLOG 2000-10-28 10:11:27 +00:00
warren@netscape.com
7730ce0cd3 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
7c151863ac 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
4c226f3f80 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
03f46854ac Eliminated warnings from recent checkin (trivial changes). 2000-06-22 05:14:32 +00:00
attinasi@netscape.com
741d7cba07 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
00fed3cdd3 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
0aa1acb7e8 Fixing bugs in skin switching. 2000-05-27 20:03:14 +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
attinasi@netscape.com
5818fabee1 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
attinasi@netscape.com
10094826ec Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-11 01:21:36 +00:00
attinasi@netscape.com
e4d15f9c24 Backing out the change I accidentally checked in. 2000-02-10 19:47:36 +00:00
attinasi@netscape.com
7d27b9745f Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-10 19:21:55 +00:00
nisheeth@netscape.com
aafbc5d74c 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
9a7a1b27f7 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
6e45bc00de 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
05f085a4b1 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +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
nisheeth@netscape.com
c5c03a7c1b 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
419e62fca8 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
f96d427084 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
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
aaa6f675e0 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
nisheeth@netscape.com
c387f37565 a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution. 1999-09-24 07:16:20 +00:00
peterl@netscape.com
5d26b03d3b stop sharing contexts with parents 1999-09-21 07:50:16 +00:00
nisheeth@netscape.com
ac550c3f55 Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define. 1999-09-20 21:36:53 +00:00
nisheeth@netscape.com
85da66d866 Move implementation of nsITimeRecorder from the pres context to the style set. 1999-09-20 06:53:40 +00:00
sfraser@netscape.com
39a77acfb5 Make function static to eliminate warning. 1999-09-14 23:40:52 +00:00
peterl@netscape.com
60c7404515 added reparent style context 1999-09-03 23:35:41 +00:00
troy@netscape.com
d2e28c48a0 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
peterl@netscape.com
f3616c4e5f removed unused IID 1999-07-18 00:17:03 +00:00
troy@netscape.com
54686a5ac5 Added function FindPrimaryFrameFor() 1999-07-02 04:46:19 +00:00
peterl@netscape.com
cf6cfaa977 better protection against bad calls in resolve style 1999-06-22 19:16:40 +00:00
sspitzer@netscape.com
ae6cfe61f5 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
peterl@netscape.com
7e2a7afa3c use new medium testing api
use enumeration func for faster rule matching
1999-06-15 06:15:51 +00:00
peterl@netscape.com
a106ae0496 added assertion to resolve style 1999-05-26 23:44:56 +00:00
warren@netscape.com
7b44baf2c0 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
alecf@netscape.com
8402ca76fe don't dereference aContext without checking for null 1999-05-07 03:08:02 +00:00
peterl@netscape.com
6c3bd91d6a widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00