133 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
cst%andrew.cmu.edu
f9a5573f80 Bug 189982 automatic image resizing: state of the image should be kept after resizing the browser window
r=bz sr=roc


git-svn-id: svn://10.0.0.236/trunk@171669 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 18:59:22 +00:00
bzbarsky%mit.edu
99fc698a89 Center the clicked-on point when turning off image zoom. Bug 207219, patch by
Chris Thomas (CTho) <cst@andrew.cmu.edu>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171364 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:29:35 +00:00
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
varga%nixcorp.com
2087aa96b4 Updating my email address.
git-svn-id: svn://10.0.0.236/trunk@164196 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 18:33:55 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
neil%parkwaycc.co.uk
279e4281ed Bug 207219 Image resize should zoom clicked position r=varga sr=peterv
git-svn-id: svn://10.0.0.236/trunk@162022 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 22:40:40 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +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
bzbarsky%mit.edu
176f587eef Fix image blocking for iframes. Bug 200433, r=mvl, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@159439 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 19:40:44 +00:00
roc+%cs.cmu.edu
8c8ded1801 Bug 245627. Minor deCOMtamination of HTML element constructor functions. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157453 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 02:38:32 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
cbdfbe8977 Make sure that the document -> node -> imgRequest -> channel -> listener ->
document cycle is always broken OnStopRequest.  Bug 237153, r+sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@153962 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-14 18:20:38 +00:00
bzbarsky%mit.edu
ad8c243c1e Fix leak when a window holding an image document is closed before the image
finishes loading.  Bug 237153, r+sr=jst, a=race between dbaron and brendan.


git-svn-id: svn://10.0.0.236/trunk@153874 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 20:47:51 +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
cbiesinger%web.de
0bd98a09ca Bug 84123 Image information is shown on title bar only after image is completely loaded
call UpdateTitleAndCharset in OnStartContainer, that's the earliest time at
which we have the image dimensions.
r=varga sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152520 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 20:58:38 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +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
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
varga%nixcorp.com
4743f00758 Changing my email address.
git-svn-id: svn://10.0.0.236/trunk@148204 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 15:35:57 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
978d05c917 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
bzbarsky%mit.edu
c6000cf3a8 Make <html:img> nodes correctly work with xml:base on ancestors by deferring
the load till after we know who our parent is.  Bug 212133, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144639 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 06:57:14 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10: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
varga%netscape.com
9a018ee06d Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142076 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 22:23:55 +00:00
varga%netscape.com
3cda5b98f6 Fix for bug 195481. Automatic image resize: Image status should be reflected in document title bar and Tab marker.
r=bz, sr=jag


git-svn-id: svn://10.0.0.236/trunk@141536 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 22:45:28 +00:00
jshin%mailaps.org
b32399e610 bug 198598 Update the window title bar and doc. charset for nsMediaDocument
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)


git-svn-id: svn://10.0.0.236/trunk@141073 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 00:40:26 +00:00
peterlubczynski%netscape.com
aee9075d9a Fixing bug 200058, standalone images and plugins leak (the whole document leaks), r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@140662 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 00:26:33 +00:00
bzbarsky%mit.edu
e57396db96 Make sure not to call LoadImage before LoadImageWithChannel for standalone
images.  Bug 121084; also fixes bug 34165.  r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@140540 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:27:20 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
peterlubczynski%netscape.com
48cef544f1 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@140032 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:20:23 +00:00
bzbarsky%mit.edu
181e2a398a Fix crash when viewing standalone images if images are blocked in mailnews.
Bug 198301, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139811 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 02:03:13 +00:00
bzbarsky%mit.edu
2fbc7d38bb Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +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
jshin%mailaps.org
f09b5e9bc6 bug 163998: URL-unescape the image URL for rendering in the title bar
(r=nhotta,jst, sr=darin, a=asa)


git-svn-id: svn://10.0.0.236/trunk@137973 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 11:14:35 +00:00
varga%netscape.com
55eed6a0d4 Fix for bug 191215. Graphic in attachment(.jpg) fails to display on double click -bld 2003011509 does.
r=jag sr=sspitzer a=dbaron


git-svn-id: svn://10.0.0.236/trunk@137919 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-18 00:18:44 +00:00
varga%netscape.com
f27088379d Landing pref based, automatic image resizing.
Disabled by default.
r=jst, sr=jag


git-svn-id: svn://10.0.0.236/trunk@136582 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 10:17:58 +00:00
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
5b83865cb9 Fix leak when loading standalone images. Bug 179498, patch by keeda@hotpop.com
(Harshal), r=jst, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@135270 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 23:53:43 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
cbiesinger%web.de
0dbc1da0de bug 88685 part 1 remove USE_IMG2 ifdefs r=caillon sr=tor
git-svn-id: svn://10.0.0.236/trunk@130655 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-28 10:50:50 +00:00
rpotts%netscape.com
c3234b594f bug #93015 (r=darin/sr=jst) First patch that cleans up imglib use of LoadFlags and channel attributes...
git-svn-id: svn://10.0.0.236/trunk@129968 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 22:08:12 +00:00
bzbarsky%mit.edu
819a2aa815 Expose document.referrer for image documents. Bug 155052, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124446 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 00:08:46 +00:00
cbiesinger%web.de
8c5ce2944a bug 9796 r=timeless sr=tor a=asa
Viewing bad images gives bad feedback


git-svn-id: svn://10.0.0.236/trunk@117688 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-28 21:12:15 +00:00