Commit Graph
245 Commits
Author SHA1 Message Date
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
[email protected] 20d7bc6052 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 2001-06-20 03:27:48 +00:00
[email protected] ee1d678864 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. 2001-06-17 05:23:38 +00:00
[email protected] 79b34597ec bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly... 2001-05-29 22:10:50 +00:00
[email protected] 519fe64e10 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. 2001-05-19 11:27:30 +00:00
[email protected] a9d2203e20 Fix for bug 56062. Back/forward doesn't work when first page is a frameset page. r=adamlock, sr=mscott 2001-05-18 21:46:59 +00:00
[email protected] 13f5aa7a8d Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
[email protected] b2977c5c79 sr=vidur. a=granrose. 79018. making the docloader return failure if it can't produce a DOMWindow. 2001-05-07 18:14:28 +00:00
[email protected] 4be2167def sr=rpotts. cookie/wallet r=morse, xmlTerm [email protected], 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. 2001-05-04 20:15:38 +00:00
[email protected] 39c5431a85 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
[email protected] f0f732ced7 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. 2001-04-19 19:51:29 +00:00
[email protected] d2a6f16225 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 ;-)
2001-04-14 02:02:19 +00:00
[email protected] ee85a4ab43 Fix bustage better. 2001-04-13 03:19:29 +00:00
[email protected] 0d9c3a23b9 Fix bustage. 2001-04-13 03:18:01 +00:00
[email protected] 1693a842fb 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 2001-04-13 02:32:02 +00:00
[email protected] 298557fdf0 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
[email protected] 8af3eb1344 bug #73244 (r=darin, sr=mscott). The DocLoader cannot assume that an nsIRequest is necessarily an nsIChannel... 2001-03-29 00:12:49 +00:00
[email protected] d865bfd3cb 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.

[email protected]
[email protected]
2001-02-21 20:38:08 +00:00
[email protected] c6327f63d5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
[email protected] a70fce6f87 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.

[email protected]
[email protected]
2001-02-10 00:16:26 +00:00
[email protected] 52b2b028a0 r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners. 2001-01-31 21:02:08 +00:00
[email protected] 5898bfed79 bug #62955 - Dialog boxes are the wrong size. 2000-12-23 06:07:38 +00:00
[email protected] 62e7860d1d 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
2000-12-19 22:07:58 +00:00
[email protected] eddd5dc252 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress. 2000-12-14 23:26:35 +00:00
[email protected] 3fde172e50 Bug #56938 --> add a method for retrieving the doc loader's
document channel.
r=sspitzer, sr=rpotts
2000-11-01 08:04:49 +00:00
[email protected] 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
[email protected] cbbf5385d4 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] 9706fb04ad 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
2000-10-26 06:34:20 +00:00
[email protected] 69c6964d59 + 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
2000-09-14 22:56:56 +00:00
[email protected] fa2a095da4 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
2000-09-01 22:26:32 +00:00
[email protected] eceb4c06f4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
[email protected] c26fb9e5d4 Bug #27048 --> implement nsIHTTPEventSink
r=valeski
2000-08-25 01:32:40 +00:00
[email protected] 479ce3529c bug #39381. The last channel in a document was not firing a request done notification - only a document done... 2000-08-24 00:08:15 +00:00
[email protected] dc6e48adee Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
[email protected] 868b2362ba 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:37:53 +00:00
[email protected] 6846afe949 Fixed memofy leak of StdURLs introduced by the last checkin... 2000-06-20 05:14:42 +00:00
[email protected] cbd990ce64 adding newline, required by HPUX 2000-06-19 13:03:52 +00:00
[email protected] 4435cc3c6a Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
[email protected] d396813183 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly... 2000-05-07 02:01:10 +00:00
[email protected] 24dc77da59 add thread safey addref and release macros to docloader. 2000-05-04 21:34:50 +00:00
[email protected] fcfa21405e string api changes r=scc 2000-04-25 05:40:45 +00:00
[email protected] 71d3cd91ea need to fake a onprogress change for the parent
docloader...Fix viewer crash by returning aChannel instead of the
doc channel.
2000-04-25 01:45:37 +00:00
[email protected] 44bfb99fa1 Bug #33156 --> implment onChildStatusChanged AND progress notifications for the doc loader
through the web progress interfaces. In order to implement progress, the doc loader now implements
nsIProgressEventSink and receives events directly from the channels.
2000-04-22 23:16:31 +00:00
[email protected] 607a80c177 Bug #36221 --> throbber never stops when loading a frameset doc.
I was signaling the stop notification via a OnchildStatus in this scenario. We should always signal the start
and stop of documents as a status change even if a child is originating the change.
2000-04-18 21:39:09 +00:00
[email protected] 7faa336b94 Pass in the right channel into the web progress listener. 2000-04-14 03:28:23 +00:00
[email protected] dfaa109c32 Changed the Status flags to be transition flags rather than flat current state. This makes it easier to implement a listener. Otherwise you are forced to cache the last status and then determine transitions based on the deltas. 2000-04-04 02:45:32 +00:00
[email protected] f5637dfa92 Bug #34321,34350 --> be sure to set the web progress listener on the doc loader
before every load.
r=travis
2000-04-03 22:41:26 +00:00
[email protected] 84abd94660 Bug #33156 --> the doc loader now implements nsIWebProgress and makes basic notifications to a registered
nsIWebProgressListener.

Right now, the only methods that are hooked up are signaling when the doc loader is busy loading a document and
when it is done loading a document.
2000-04-03 02:26:05 +00:00