21 Commits

Author SHA1 Message Date
bryner%brianryner.com
b5347dd60c 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.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
bryner%brianryner.com
eeddf02bde 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.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
roc+%cs.cmu.edu
2b6198e9be Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 10:30:00 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
69da9d4a19 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
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu
6c1ec16a83 Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139608 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 16:09:02 +00:00
bzbarsky%mit.edu
617629aaf0 Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@138515 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 05:51:32 +00:00
bryner%netscape.com
c44337949a 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.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a53a959416 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136009 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:07:51 +00:00
rpotts%netscape.com
5d90e7c567 bug #145579 (r=darin, sr=jst) send the correct referrer for images...
git-svn-id: svn://10.0.0.236/trunk@129799 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 18:59:41 +00:00
kmcclusk%netscape.com
7e5ea4f126 Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119998 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:44:38 +00:00
kmcclusk%netscape.com
87dc98ac69 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117288 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 04:33:37 +00:00
badami%netscape.com
a8b2d64408 Animated image prefs don't apply to background images
bug 94938 r=pavlov sr=tor a=asa patch=nivedita@netscape.com


git-svn-id: svn://10.0.0.236/trunk@116636 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 08:29:08 +00:00
kmcclusk%netscape.com
0c8fc33acb Render background images when the entire image has been loaded instead of incrementally. <IMG> elements are not affected, they will continue to be incrementally displayed as image data arrives. bug 85771 r=pavlov sr=attinasi a=roc+moz, tor
git-svn-id: svn://10.0.0.236/trunk@116236 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 00:15:46 +00:00
morse%netscape.com
1bd627dc7c bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115629 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:49:30 +00:00
pavlov%netscape.com
1fe130f902 Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it
git-svn-id: svn://10.0.0.236/trunk@114539 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:31:54 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 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
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
kmcclusk%netscape.com
3b82e4dbeb Check for null result from NS_NewURI b=102585 sr=kin r=attinasi
git-svn-id: svn://10.0.0.236/trunk@110336 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:41:41 +00:00
pavlov%netscape.com
38a84b009c fix for bug 92248 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@104721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:08:16 +00:00
vidur%netscape.com
ec7aeceee0 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
pavlov%netscape.com
460155a537 fixing bug 78690. removing old imagelib. r=jst sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:22:39 +00:00