Граф коммитов

242 Коммитов

Автор SHA1 Сообщение Дата
scc%mozilla.org a8fb409c6e 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
rpotts%netscape.com 5b394a26a3 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
jst%netscape.com 77aeecc056 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
radha%netscape.com 941db612a8 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
darin%netscape.com b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
valeski%netscape.com 916b103cb1 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
valeski%netscape.com 939312c7fa 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. 2001-05-04 20:15:38 +00:00
rpotts%netscape.com 259fce8009 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
waterson%netscape.com 89b4865d92 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
darin%netscape.com 9deb4986e3 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
waterson%netscape.com 33a1dec9ba Fix bustage better. 2001-04-13 03:19:29 +00:00
waterson%netscape.com 20db5d0468 Fix bustage. 2001-04-13 03:18:01 +00:00
waterson%netscape.com a0a55358af 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
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
rpotts%netscape.com b714e61819 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
dougt%netscape.com 128f95aa9b 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
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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
2001-02-10 00:16:26 +00:00
valeski%netscape.com 10230f80ff r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners. 2001-01-31 21:02:08 +00:00
rpotts%netscape.com 3228f83073 bug #62955 - Dialog boxes are the wrong size. 2000-12-23 06:07:38 +00:00
mscott%netscape.com ee60df101f 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
rpotts%netscape.com 359b761343 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress. 2000-12-14 23:26:35 +00:00
mscott%netscape.com 94e52d3266 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
warren%netscape.com cd56c0575b 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
warren%netscape.com 0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com f5614e7782 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
dougt%netscape.com c2923c8476 + 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
mscott%netscape.com 0e2dcfbd89 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
locka%iol.ie ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
mscott%netscape.com d7a4c2790e Bug #27048 --> implement nsIHTTPEventSink
r=valeski
2000-08-25 01:32:40 +00:00
rpotts%netscape.com b569585070 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
warren%netscape.com 2b01440bc0 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
valeski%netscape.com 048c917d19 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:37:53 +00:00
rpotts%netscape.com dfe7dd1ea3 Fixed memofy leak of StdURLs introduced by the last checkin... 2000-06-20 05:14:42 +00:00
jdunn%netscape.com b86b3b5990 adding newline, required by HPUX 2000-06-19 13:03:52 +00:00
rpotts%netscape.com 44dfb4b825 Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
rpotts%netscape.com d6a55e5b45 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly... 2000-05-07 02:01:10 +00:00
mscott%netscape.com 2b7f09c1b0 add thread safey addref and release macros to docloader. 2000-05-04 21:34:50 +00:00
pavlov%netscape.com a3a300fdf2 string api changes r=scc 2000-04-25 05:40:45 +00:00
mscott%netscape.com 96bcbcb394 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
mscott%netscape.com a9b0a90d18 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
mscott%netscape.com 9671270568 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
mscott%netscape.com 59ef60bcc9 Pass in the right channel into the web progress listener. 2000-04-14 03:28:23 +00:00
tbogard%aol.net 3cbce7298c 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
mscott%netscape.com c075035b09 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
mscott%netscape.com ccd7510b99 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
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
mscott%netscape.com f6d844d6cb Bug #28776,28569 --> add method for clearing out the parent doc loader
now that we don't leak the global doc loader, there are times when it gets destroyed b4 it's children during
the shutdown process.
r=sspitzer
2000-03-24 05:45:31 +00:00
ftang%netscape.com 8e1d13ceca change the interface and pass nsISupport* for document instead of PRInt32 so we won't drop
data on 64-bits machine. r=harishd
2000-03-23 00:53:53 +00:00