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

116 Коммитов

Автор SHA1 Сообщение Дата
locka%iol.ie d7a72cd6c8 Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com 2002-01-08 13:01:38 +00:00
shanjian%netscape.com f76c0c6f15 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
danm%netscape.com 0a51b6b067 move focus unsuppression in SetupNewViewer until after the viewer has been initialized. also add an assertion should we ever again get into a lazy document creation infinite loop. bugs 106820, 110856. r=bryner,hyatt 2001-12-11 02:41:22 +00:00
rpotts%netscape.com a33a19e3d1 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
radha%netscape.com 89c2d43cf6 Fix for bug # 99638. r=darin sr=rpotts. Use nsIMultiPartChannel to access
htttpChannel that is part of a multipartChannel.
2001-11-27 23:14:15 +00:00
radha%netscape.com 389ca5a708 Fix for bug # 106994. - Remove redundant code in nsDocShell to acquire handle to SH in the root docshell r=adamlock sr=rpotts 2001-11-20 20:14:02 +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
radha%netscape.com e833d177d8 Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts 2001-10-26 19:04:11 +00:00
bryner%netscape.com bbbbd6f9e3 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
radha%netscape.com 4df8637d13 Fix for bug 79063 r=rpotts sr=darin 2001-09-07 22:06:08 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
bryner%netscape.com d812ad1b51 Bug 92210 - Window steals focus if you switch to another app during "Transferring data from...". r=saari, sr=hyatt. 2001-08-21 21:18:45 +00:00
radha%netscape.com 0b9e389330 Fix for bug # 86752. LOAD_FLAGS_BYPASS_HISTORY does not work. r=adamlock sr=rpotts 2001-08-16 23:49:50 +00:00
rpotts%netscape.com 914543da03 bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next... 2001-07-17 20:17:38 +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
radha%netscape.com 68e4002dba Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets 2001-07-03 00:00:12 +00:00
yokoyama%netscape.com 0a7fde6bc3 Bug 82244
backout old patch
r= radha sr=rpotts
2001-06-29 22:12:14 +00:00
bryner%uiuc.edu 8cfe74d6bb Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +00:00
nisheeth%netscape.com d5b20e8bb4 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00
rods%netscape.com ade2376885 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
valeski%netscape.com 47dde24cd0 r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made. 2001-05-21 22:42:46 +00:00
bstell%netscape.com 880b29ea48 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 f3e719c2c1 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
jst%netscape.com adf1d8320a 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 58072871cc 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 0e1ace29ab 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 34c1ccac5e 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 dbfa6b68ad fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
harishd%netscape.com 6836236914 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 fe4054b4b2 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 e478b779f3 Fixes related to bug # 71756 r=rpotts, valeski 2001-03-28 03:35:38 +00:00
radha%netscape.com 36e002d883 Fix for bug # 69457 r=valeski, rpotts 2001-03-24 01:23:42 +00:00
mstoltz%netscape.com b26a1f0451 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 a1571db287 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 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
radha%netscape.com f2638b18c0 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +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
akkana%netscape.com 6499aa20b0 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 8c837042a5 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 d4fb846074 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
locka%iol.ie b9bf2ff444 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 8e11ee5cb9 More fixes for bug # 46828. r=pollmann sr=rpotts 2000-11-02 06:34:44 +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
rpotts%netscape.com 17ea903430 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 7b7a548b33 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 d08376e7af 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 584d022386 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 c52f68cce4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00