262 Commits

Author SHA1 Message Date
jst%netscape.com
6661b9cc52 Fixing typo in comment.
git-svn-id: svn://10.0.0.236/trunk@143576 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 06:17:53 +00:00
sfraser%netscape.com
4f487be832 Don't crash if mLoadGroup is null, which can happen if Init fails. r/sr=me
git-svn-id: svn://10.0.0.236/trunk@138762 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 20:39:44 +00:00
dbaron%dbaron.org
6ed727cbe8 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@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu
d795c711b3 more nsCOMArray goodness -- uriloader, this time. Bug 183656, r=timeless,
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@135081 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:15:19 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jst%netscape.com
b3c1960bee Fixing part of bug 126212. Make nsDocLoader store the requests in a pldhash in stead of in a linear array for better performance when dealing with *lots* of requests. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@124793 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:54:41 +00:00
sicking%bigfoot.com
a085cb323a Bug 133250: "Transferring data from..." remains on status bar. Checkin for antonio.xu@sun.com
r=jkeiser sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@124456 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 02:17:15 +00:00
rpotts%netscape.com
3f2463d7dd bug #148981 (r=kaie, sr=darin). STATE_TRANSFERRING notifications are not fired if theunderlying channel does not provide nsIProgressEventSink notifications...
git-svn-id: svn://10.0.0.236/trunk@123717 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:16:46 +00:00
rpotts%netscape.com
f5cdc2123c bug #145994 (r=chak,sr=alec). Fix null-pointer crash when stop() is called within a nsIWebProgressListener notification.
git-svn-id: svn://10.0.0.236/trunk@121956 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:30:58 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
darin%netscape.com
4f32d845fb fixes bug 141061 - XMLHttpRequest allows reading of local files
r=mstoltz sr=heikki


git-svn-id: svn://10.0.0.236/trunk@120353 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:22:04 +00:00
jst%netscape.com
6ab4b19962 foo
git-svn-id: svn://10.0.0.236/trunk@119204 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 03:48:37 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
rpotts%netscape.com
d13a557074 bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly...
git-svn-id: svn://10.0.0.236/trunk@96012 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 22:10:50 +00:00
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
radha%netscape.com
bf71e1c7eb Fix for bug 56062. Back/forward doesn't work when first page is a frameset page. r=adamlock, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@95424 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:46:59 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
valeski%netscape.com
c6cbaf3a9c sr=vidur. a=granrose. 79018. making the docloader return failure if it can't produce a DOMWindow.
git-svn-id: svn://10.0.0.236/trunk@94129 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-07 18:14:28 +00:00
valeski%netscape.com
c93bb536ef sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug.
git-svn-id: svn://10.0.0.236/trunk@93943 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 20:15:38 +00:00
rpotts%netscape.com
e8ce898932 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski)
git-svn-id: svn://10.0.0.236/trunk@93297 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:05:52 +00:00
waterson%netscape.com
5e4363687a Bug 76286. Bullet-proof code that uses mDocumentRequest; add assert-botch to catch cases where first request is not LOAD_DOCUMENT_URI. r=darin, sr=mscott, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@92750 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 19:51:29 +00:00
darin%netscape.com
afd4500f54 Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)


git-svn-id: svn://10.0.0.236/trunk@92271 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 02:02:19 +00:00
waterson%netscape.com
fce779f76c Fix bustage better.
git-svn-id: svn://10.0.0.236/trunk@92157 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 03:19:29 +00:00
waterson%netscape.com
0a32ffd8fc Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@92156 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 03:18:01 +00:00
waterson%netscape.com
eb0669ba97 Bug 75623, and part of bug 75576. Make sure we only fire OnStartRequest() once. Also, the doc loader should handle nsIRequests that aren't nsIChannel objects; this fix cleans that up. r=pavlov, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@92151 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 02:32:02 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
rpotts%netscape.com
586fe1fd3b bug #73244 (r=darin, sr=mscott). The DocLoader cannot assume that an nsIRequest is necessarily an nsIChannel...
git-svn-id: svn://10.0.0.236/trunk@90706 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:12:49 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
valeski%netscape.com
038cdde0c2 r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners.
git-svn-id: svn://10.0.0.236/trunk@85867 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:02:08 +00:00
rpotts%netscape.com
a63a689198 bug #62955 - Dialog boxes are the wrong size.
git-svn-id: svn://10.0.0.236/trunk@84034 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:07:38 +00:00
mscott%netscape.com
3d4b1daba2 Bug #59827 --> pass the redirect flag up via a OnStatechange if we get a redirect. Also set the is document
flag if the original channel matches mDocumentChannel.
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@83865 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:07:58 +00:00
rpotts%netscape.com
fa30354552 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress.
git-svn-id: svn://10.0.0.236/trunk@83666 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:26:35 +00:00
mscott%netscape.com
20116a00b3 Bug #56938 --> add a method for retrieving the doc loader's
document channel.
r=sspitzer, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@82139 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:04:49 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
b725c37ce9 Removed extra 0 arg
git-svn-id: svn://10.0.0.236/trunk@81893 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:21:30 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mscott%netscape.com
455ed3c418 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@81801 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 06:34:20 +00:00
dougt%netscape.com
5b5da682a9 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts


git-svn-id: svn://10.0.0.236/trunk@79206 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:56 +00:00
mscott%netscape.com
b96f88a453 Bug #50427 --> comment out our OnRedirect implementation. It was causing nasty side effects
because we aren't told if the main document url is getting redirected or if a part (like an
image) is getting redirected. This caused the urlbar to get incorrectly updated.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@77941 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:26:32 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00