40 Commits

Author SHA1 Message Date
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
f019e59995 Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 21:07:47 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
dbaron%dbaron.org
39a926c190 Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193023 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 22:12:54 +00:00
bzbarsky%mit.edu
2420f37852 Fix bug 323028 -- don't set our mRequest until after the clone is done. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188303 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 01:11:50 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bzbarsky%mit.edu
e7ad4f7000 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
roc+%cs.cmu.edu
b21c7fbd1c Bug 230697. Extend MOZ_FORCE_PAINT_AFTER_ONLOAD so that CSS background image loads delay firing of the onload event. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@153010 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 06:00:35 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu
d3e33b0653 Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@151035 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 18:29:28 +00:00
bryner%brianryner.com
019725339d Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150737 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-26 04:24:11 +00:00
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