Commit Graph

95 Commits

Author SHA1 Message Date
bstell@netscape.com
43cb19713d bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset
2001-05-17 02:12:51 +00:00
rpotts@netscape.com
84d8d9a0b7 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
jst@netscape.com
650643b391 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
valeski@netscape.com
4be2167def 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
sfraser@netscape.com
e2d0e2c801 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00
locka@iol.ie
32866000db NO CODE CHANGES. Headers reformatted to remove ugly 2/3/4 tab/space indentation mess. b=66434 2001-04-27 13:03:17 +00:00
dr@netscape.com
793c06e233 fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
harishd@netscape.com
0a46875075 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
chak@netscape.com
780a4acaba Fix for bug#66334 - Viewsource needs to be a protocol handler
r=valeski,sr=rpotts
2001-04-16 20:17:36 +00:00
radha@netscape.com
57e6c43857 Fixes related to bug # 71756 r=rpotts, valeski 2001-03-28 03:35:38 +00:00
radha@netscape.com
16d9814442 Fix for bug # 69457 r=valeski, rpotts 2001-03-24 01:23:42 +00:00
mstoltz@netscape.com
fa6783f615 Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
2001-03-23 04:22:56 +00:00
radha@netscape.com
5d01d39384 Fix for bug # 69713. Get rid of unused SH_IN_FRAMES #defines. r=timeless, adamlock 2001-02-23 00:05:54 +00:00
dougt@netscape.com
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.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
radha@netscape.com
aeda1f5afb Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +00:00
disttsc@bart.nl
c6327f63d5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt@netscape.com
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.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
akkana@netscape.com
38c1fef2c1 56296: Disable popping up new window on target=, pref controlled. r=dveditz, sr=brendan 2001-01-27 01:08:36 +00:00
locka@iol.ie
de56a7e175 Changed docshell so it turns the mouse pointer "busy" in the associated window while it is loading a document. Removed the hack in the navigator chrome that used the throbber status to set the busy pointer. b=30375 sr=rpotts@netscape.com 2001-01-26 12:35:32 +00:00
rpotts@netscape.com
1745cc91d7 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
locka@iol.ie
ab64b20ce9 Moved URI fixup code out of docshell and into a global service. b=51702, sr=waterson@netscape.com 2000-11-08 21:00:37 +00:00
radha@netscape.com
f63a1f7063 More fixes for bug # 46828. r=pollmann sr=rpotts 2000-11-02 06:34:44 +00:00
mscott@netscape.com
88f09f1ce4 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
80f0da679b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
rpotts@netscape.com
37dbf0449c bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately... 2000-09-10 06:00:46 +00:00
edburns@acm.org
c05e057a42 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
mscott@netscape.com
3b770b5446 Bug #32387,47365, 46331, 46338, 23734 --> reset the load type when we get a redirected url so it gets added to
session history properly. Only add to session history if the url resulted in document being
loaded.
r=radha
2000-09-01 22:34:19 +00:00
mstoltz@netscape.com
69b74db083 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
locka@iol.ie
eceb4c06f4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
valeski@netscape.com
4318aef93f moving the docshell lib to the components dir and macro'izing some decls. 45723 2000-07-19 02:57:05 +00:00
rpotts@netscape.com
90813f9029 More session history cleanup... Reorganizing the code and removing SH_IN_FRAMES ifdefs... (r=radha) 2000-07-08 05:17:49 +00:00
rpotts@netscape.com
392807ddda Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets). 2000-07-05 23:10:29 +00:00
radha@netscape.com
0d8c9d3c1a Enabling feature "Session History in frameset pages". bug # 36547. Reviewer for this checkin
as well as several previous checkins related to this bug is rpotts.
2000-07-04 18:51:14 +00:00
valeski@netscape.com
4460d9d9f2 39474. r=rpotts,mscott. We now can load a stream directly into the uri loader (bypassing necko). built and pre-checkin tested on linux and win 2000-06-30 23:39:30 +00:00
radha@netscape.com
c64ec69b07 More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
radha@netscape.com
ca1a2e25b8 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
mscott@netscape.com
3bb7831bfd Bug #30157 --> add the ability to launch urls using OS default protocol handlers. You must set a pref to
enable this behavior.
r=valeski
2000-06-23 04:44:36 +00:00
mscott@netscape.com
5095261d43 Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
2000-06-22 07:22:23 +00:00
rpotts@netscape.com
b03177ae34 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
radha@netscape.com
1d5392a635 More code for feature bug 36547. CODE NOT PART OF TEH BUILD. reviewer will be provided when the feature is enabled. 2000-06-22 05:36:13 +00:00
radha@netscape.com
000f3041e3 More checkins for feature bug 36547. r=self(module owner) All code in this checkin are unused
ie., feature  not enabled.
2000-06-21 06:40:08 +00:00
rpotts@netscape.com
2b7089f55d Made the nsDocShell a nsIWebProgressListener. This is a first step for the Session History changes and ultimately removing the nsIDocumentLoaderObserver interface... 2000-06-20 07:59:45 +00:00
rpotts@netscape.com
4435cc3c6a Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
mstoltz@netscape.com
3d53385d60 Fix for bug 31818. Dogfood. r=brendan 2000-06-13 23:56:30 +00:00
ruslan@netscape.com
8207f369cd Fix 41269. WIP on 31189. r/a=gagan 2000-06-02 21:02:31 +00:00
hyatt@netscape.com
adfeadc37c Adding support for weak references on docshells. 2000-05-28 09:25:55 +00:00
locka@iol.ie
101d323adf Fixed problem with internation pages, bug 40320
Fixed problem with reloading the same page twice bug 40318
Reviewed by rahda
2000-05-23 22:36:47 +00:00
locka@iol.ie
c9d9da1dd9 New parameter for AddToSessionHistory #39668 2000-05-23 00:51:37 +00:00
sfraser@netscape.com
52c93768ba Fix timer refcount issues in docshell, fixes bugs 39641, 39617. r=pavlov a=leaf 2000-05-17 20:24:43 +00:00
davidm@netscape.com
38758120b3 21137 Hook up reload/shift-reload/back/forward buttons to load att r = rpotts 2000-05-10 22:45:24 +00:00