bryner%brianryner.com
1de3fc0366
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
cvshook%sicking.cc
35316b26ee
Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
cst%andrew.cmu.edu
d3e7932d02
Bug 197263 The automatic image resizing pref should toggle the default zoomed state of images, and not disable zooming entirely
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@191870 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 01:44:44 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
vladimir%pobox.com
f561d566b0
b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
cst%andrew.cmu.edu
0e0b27bf8a
Bug 305215 Fix crash going back while loading an image [@ ImageListener::OnStopRequest] (regression from bug 292503)
...
patch by Frank Wein <bugzilla@mcsmurf.de>, r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@178522 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 22:47:10 +00:00
bzbarsky%mit.edu
e79cce1c42
Allow passing a cached nsIContentPolicy service pointer to
...
NS_CheckContent*Policy if the caller has one. Bug 304845, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
cst%andrew.cmu.edu
88c4924d49
Bug 292503 Working images should not have alt text that says there is an error
...
r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@177926 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 02:49:47 +00:00
bryner%brianryner.com
1cee43af71
Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@173618 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 01:31:26 +00:00
bzbarsky%mit.edu
c1677f8f9d
Fix typo that kept data: images from updating the titlebar. Bug 293399,
...
r=biesi, sr=brendan, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@173199 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 23:21:36 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
da850874f2
Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
...
a=brendan
git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
e2e0f7bfab
Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
...
r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
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