bryner%brianryner.com
e1daca3ce3
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
...
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
bzbarsky%mit.edu
fa206da134
Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
...
r+sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@163530 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu
0931032595
Make sure to addref out param. Bugs 258121 and 247712, r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@162304 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 15:06:56 +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
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
cbiesinger%web.de
ff1bd6473d
bug 196380
...
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 17:57:00 +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
mvl%exedo.nl
c0b2e4667b
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
tor%cs.brown.edu
66f9a5f6a8
Bug 236313 - handle javascript URLs as img src. r=pavlov, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@156007 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:17:31 +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
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
bryner%brianryner.com
3d8a7179f8
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +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
e145168a0f
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@149399 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 07:34:25 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +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
darin%meer.net
bc1bb52b19
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +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
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
bzbarsky%mit.edu
710da65e60
This was not supposed to land. Fixing bustage.
...
git-svn-id: svn://10.0.0.236/trunk@145158 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 18:30:50 +00:00
bzbarsky%mit.edu
b878645544
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@145155 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu
9420de5a10
Make the loop actually deal with observers removing themselves. Bug 213611,
...
patch by riceman+bmo@mail.rit.edu (Tim), r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145129 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 23:09:33 +00:00
bzbarsky%mit.edu
2a3a253681
Backing out part of patch to test whether this is causing the perf regression.
...
Bug 212133, a=dbaron to back out of tree if I do it before morning builds and
such.
git-svn-id: svn://10.0.0.236/trunk@144644 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 09:47:13 +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
bzbarsky%mit.edu
50802bdf22
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
jst%netscape.com
816e8f6c3c
Fixing bug 210443. Cut down on the malloc's done when loading images. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
...
git-svn-id: svn://10.0.0.236/trunk@144085 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:32:59 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +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
cbiesinger%web.de
965b435ac9
204386 r+sr=bz Allow setting Image.src to empty
...
git-svn-id: svn://10.0.0.236/trunk@142905 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-25 20:43:08 +00:00
jst%netscape.com
1a3fdb6d94
Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@142281 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 20:42:49 +00:00
cbiesinger%web.de
56652f5c5e
204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent
...
git-svn-id: svn://10.0.0.236/trunk@142062 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 19:21:00 +00:00
stephend%netscape.com
4c2d7f2b5d
Bug 202346. Crash in nsImageLoadingContent::FireEvent global method. If there is no document, stop firing events. Patch by Boris Zbarsky <bzbarsky@mit.edu> r+sr=Johnny Stenback <jst@netscape.com>
...
git-svn-id: svn://10.0.0.236/trunk@141440 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 04:27:55 +00:00
bzbarsky%mit.edu
5ee12c5ec0
Images that replace themselves with alt text should still respond to src
...
changes. Bug 198435, r=roc+moz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@141222 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 01:53:48 +00:00
bzbarsky%mit.edu
99037d7097
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
git-svn-id: svn://10.0.0.236/trunk@141144 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 01:09:09 +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
bzbarsky%mit.edu
f23cff2841
This warning was never supposed to get checked in...
...
git-svn-id: svn://10.0.0.236/trunk@140049 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 07:57:44 +00:00
bzbarsky%mit.edu
81ffc69c42
Load images even if we're not associated with any document, for now, so that
...
drag/drop and copy/paste of images work. Bug 198428, r=timeless, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139890 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 01:31:43 +00:00
bzbarsky%mit.edu
307231e3af
Trying to make Tp go down. Switch back to the old way of doing load events.
...
git-svn-id: svn://10.0.0.236/trunk@139747 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 05:38:33 +00:00
bzbarsky%mit.edu
7960476cd2
Fix OS/2 bustage. Bug 83774.
...
git-svn-id: svn://10.0.0.236/trunk@139744 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:13:37 +00:00
bzbarsky%mit.edu
fb88aa9a22
New files for bug 83774. r=pavlov, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@139731 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 01:08:22 +00:00