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

64 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu f411c17a49 Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin
2005-02-27 18:33:27 +00:00
bzbarsky%mit.edu 3ac1ec6ff1 Use GetAsSupports instead of STATIC_CAST. Bug 282644 followup, r=biesi 2005-02-20 17:18:22 +00:00
bzbarsky%mit.edu b5b7183ff9 Followup patch to bug 273785 -- don't trust the plugin service; it lies about
whether it really found new plugins.  r+sr=jst
2005-02-19 03:56:57 +00:00
bzbarsky%mit.edu 45f9a5c473 Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin
2005-02-19 02:43:03 +00:00
bzbarsky%mit.edu 874340e9fb Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
bzbarsky%mit.edu 194e16cd98 Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
dbaron%dbaron.org 0b5c7134c9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
locka%iol.ie d8370b0594 Use proper weak refs over raw pointers to hold parent URI content listeners. b=144887 r=radha@netscape.com sr=alecf@netscape.com 2002-07-09 21:25:12 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
locka%iol.ie 1a872d5c16 Add code to nullify pointers and do extra checks to catch docshell crashes most likely caused by bad weak references. b=67721 r=rpotts@netscape.com sr=mscott@netscape.com 2001-12-03 12:42:49 +00:00
bryner%netscape.com 6c17c78d35 Bug 106445 - clicking url in mail doesn't focus browser window. r=jst, sr=hyatt. 2001-11-27 01:22:34 +00:00
rpotts%netscape.com 6f84f1feee bug #107097 - back/foward do not work! 2001-10-29 06:03:27 +00:00
rpotts%netscape.com 5e626fd436 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
rpotts%netscape.com 0340c21f74 bug #70223 (r=valeski@netscape.com, sr=mscott@netscape.com). Remove nsIURIContentListener::GetProtocol() since it is unused. 2001-09-17 23:22:00 +00:00
rpotts%netscape.com cfd1b99c04 bug #96418 (r=valeski, sr=mscott). SaveAs dialog not shown when saving file... 2001-08-24 18:45:11 +00:00
rpotts%netscape.com da2959ee05 bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jst%netscape.com 07a7d85bbc Fixing problem with email deletion in mailnews throwing NS_ERROR_NOT_AVAILABLE exceptions. No bug, r=pollmann@netscape.com, sr=rpotts@netscape.com 2001-05-17 21:33:16 +00:00
rpotts%netscape.com f3e719c2c1 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
valeski%netscape.com 615491f384 r=rpotts, r=heikki, sr=vidur. content types are no longer hardcoded for docshell load acceptance. we now ask layout what it can handle (indirectly via the category manager). 40772. 2001-04-16 23:05:08 +00:00
chak%netscape.com fe4054b4b2 Fix for bug#66334 - Viewsource needs to be a protocol handler
r=valeski,sr=rpotts
2001-04-16 20:17:36 +00:00
darin%netscape.com 45b4c27450 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
radha%netscape.com 7666368b53 Fix for bug # 41065. null ptr checks added r=valeski sr=rpotts 2001-04-13 22:26:28 +00:00
locka%iol.ie 70025349f2 NO CODE CHANGES. Reformatted to remove evil 3 space indentation 2001-04-13 13:05:16 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
blakeross%telocity.com 7b5a59b32d Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt 2001-03-25 16:49:38 +00:00
dougt%netscape.com eab041f43f 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 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab 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
mscott%netscape.com b783faa154 Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type.
r=radha, sr=rpotts
2000-10-11 23:17:02 +00:00
locka%iol.ie 69fd02310b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
mscott%netscape.com 33920f5701 Bug #32387,47365--> reset the load type when we get a redirected url so it gets added to
session history properly.
Only call OnLoadingSite if we actually create a content viewer for this page...
r=radha
2000-09-01 22:35:05 +00:00
mscott%netscape.com abe52a17bf Bug #44253 --> if a docshell doesn't have a parent content listener then change
the default for IsPreferred to return the value of CanHandle. This makes it
easier for content developers to use browser and iframe tags since they don't
have to implement nsIURIContentListener explicilty to get correct
loading behavior.
r=valeski
2000-08-26 02:52:09 +00:00
mscott%netscape.com be66c761b2 Bug #45047 --> accept plain/text content type by default.
r=alecf
2000-07-11 05:09:42 +00:00
mscott%netscape.com 6c789be53b Bug #10802 --> remove special case of message/rfc822 content. we resolve this diffently now in order to make
open attachments work.
r=sspitzer
2000-06-23 04:47:30 +00:00
mscott%netscape.com a67f7065a0 Bug #38374 --> we were throwing an assertion in correctly because we couldn't create a content viewer. This is
actually an okay case, we'll later try to fire a helper app in this condition. No need to assert.

r=valeski
2000-06-22 06:55:10 +00:00
rpotts%netscape.com fe680b22a3 Added Set/GetLoadCookie methods to nsDocShell. The mLoadCookie is no longer directly set by the nsDSURIContentListener class! 2000-06-20 08:01:19 +00:00
rpotts%netscape.com 49c54755fc Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
rpotts%netscape.com 80c3fe2f3e some reformatting to keep lines from wrapping... 2000-05-06 06:05:03 +00:00
tbogard%aol.net 4e5f7c99ac Making the addref and release thread safe. 2000-04-16 13:00:52 +00:00
tbogard%aol.net c6f1b601bf CreateContentViewer() and NewContentViewer() no longer take the uri loading command as a parameter since they don't use it. InternalLoad now takes a window target parameter. DoURILoad now takes the uriloader command and a window target. 2000-04-04 00:04:04 +00:00
tbogard%aol.net f3c5352218 OnLoadingSite now takes a nsIChannel instead of a nsIURI. This allows us to get information out of the channel we may need such as the referrer. We now make sure we set the referrer during OnLoadingSite. Fixed a bug where the nsIWebProgressListener was getting found on the treeOwner even for frames. This was causing the the treeOwner to get notified of all actions happening in the children. Now we make sure to only set the listener for the top level frame. 2000-03-30 02:24:17 +00:00
cls%seawood.org 13d301bd22 Some compilers (HP-UX) don't like it when the file doesn't end in a newline. 2000-03-25 07:58:28 +00:00
tbogard%aol.net c568a5cd6f Removed the Set and GetPresContext as they were not being used. 2000-03-25 03:43:58 +00:00
tbogard%aol.net 8a87bb6f94 Adding implementation for the new method OnStartURIOpen on nsIURIContentListener. 2000-03-24 00:26:51 +00:00
tbogard%aol.net 086aae8fec Reordered methods to be the same as the interface. 2000-03-11 00:49:47 +00:00
tbogard%aol.net 50e31a9326 DoContent now call CreateContentViewer on the docShell to get the viewer created. Implemented CreateContentViewer(), NewContentViewer(), and SetupNewViewer() methods in the docshell. This gets docshell setup to be able to create it's own content viewers for loads. This is work to getting session history stuff working and bug 13374. r=mscott a=jevering 2000-02-29 22:32:24 +00:00