181 Commits

Author SHA1 Message Date
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
jdunn%netscape.com
68a5a4a034 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


git-svn-id: svn://10.0.0.236/trunk@53239 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
2bfa653735 a=sdagley. Move over to new timing macros...
git-svn-id: svn://10.0.0.236/trunk@53064 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 03:41:09 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
nisheeth%netscape.com
b7fab4e31c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +00:00
peterl%netscape.com
bba68903df Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
nisheeth%netscape.com
d65bc1efa0 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50372 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:42:56 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
peterl%netscape.com
d1916dab07 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy


git-svn-id: svn://10.0.0.236/trunk@50193 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 03:09:31 +00:00
kipp%netscape.com
a87258a834 Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:53:40 +00:00
nisheeth%netscape.com
0b3c75b092 a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution.
git-svn-id: svn://10.0.0.236/trunk@48972 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:16:20 +00:00
peterl%netscape.com
7deae09f51 stop sharing contexts with parents
git-svn-id: svn://10.0.0.236/trunk@48548 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:50:16 +00:00
nisheeth%netscape.com
9ca0e1429c Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define.
git-svn-id: svn://10.0.0.236/trunk@48405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:36:53 +00:00
nisheeth%netscape.com
a7e5337544 Move implementation of nsITimeRecorder from the pres context to the style set.
git-svn-id: svn://10.0.0.236/trunk@48333 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:53:40 +00:00
sfraser%netscape.com
6085e624c9 Make function static to eliminate warning.
git-svn-id: svn://10.0.0.236/trunk@47454 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:40:52 +00:00
peterl%netscape.com
791d9a651c added reparent style context
git-svn-id: svn://10.0.0.236/trunk@45965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:41 +00:00
troy%netscape.com
db679bfa7c Changed frame construction code to use frame manager when modifying frame
model


git-svn-id: svn://10.0.0.236/trunk@42257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:09:22 +00:00
peterl%netscape.com
171e1711a1 removed unused IID
git-svn-id: svn://10.0.0.236/trunk@39936 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:17:03 +00:00
troy%netscape.com
eda7c241f2 Added function FindPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@37981 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:46:19 +00:00
peterl%netscape.com
e34e6f0b60 better protection against bad calls in resolve style
git-svn-id: svn://10.0.0.236/trunk@36301 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:16:40 +00:00
sspitzer%netscape.com
62333c3c30 safety checks to prevent dereferencing null
git-svn-id: svn://10.0.0.236/trunk@35912 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 21:18:13 +00:00
peterl%netscape.com
eb90ef2c8a use new medium testing api
use enumeration func for faster rule matching


git-svn-id: svn://10.0.0.236/trunk@35389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:15:51 +00:00
peterl%netscape.com
56971cfe55 added assertion to resolve style
git-svn-id: svn://10.0.0.236/trunk@32796 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:44:56 +00:00
warren%netscape.com
fe7d7e2e69 Fixed nsICollection (and Count in particular) to be xpidl friendly.
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
alecf%netscape.com
abe1512581 don't dereference aContext without checking for null
git-svn-id: svn://10.0.0.236/trunk@30656 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 03:08:02 +00:00
peterl%netscape.com
47bf3e319c widened content state change api
added test for state dependent style


git-svn-id: svn://10.0.0.236/trunk@28162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:02:22 +00:00
kipp%netscape.com
78dc3c2c3c Fixed an oopsie that prevented enumerating the override and backstop sheets
git-svn-id: svn://10.0.0.236/trunk@26153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:56:45 +00:00
vidur%netscape.com
83118f458a 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.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
peterl%netscape.com
694566ce25 added content state changed
removed ua sheet from dump style


git-svn-id: svn://10.0.0.236/trunk@22324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:04 +00:00
troy%netscape.com
cbaac14adf Added CreateContinuingFrame() function to frame construction code
git-svn-id: svn://10.0.0.236/trunk@21695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:03:50 +00:00