Commit Graph

369 Commits

Author SHA1 Message Date
pollmann%netscape.com
df0d05044b Bug 20315: Copy charset information down into child webshell (no js regression!) r=buster, a=chofmann 2000-01-19 22:43:48 +00:00
mscott%netscape.com
c8193a9416 Bug #19517 --> if we don't have an unknown content handler available to us,
try to fetch it from out parent.
r=sspitzer
2000-01-18 21:58:15 +00:00
pollmann%netscape.com
6bf0c4ac1d Bug 20315/24243/23571: Backing change for 20315 out - it was causing javascript handlers to not fire and scripts to not execute. Working with joki to understand this r=self, backing out change only 2000-01-18 20:31:15 +00:00
pollmann%netscape.com
89ea13c2bd Bug 20315: Copy charset info from parent down into child content viewer r=buster 2000-01-18 02:43:22 +00:00
rpotts%netscape.com
be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
danm%netscape.com
e86a4b53fb adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
valeski%netscape.com
e05c7df97c api clean up and fixed a blah.com www. appending case 2000-01-13 23:23:20 +00:00
valeski%netscape.com
596198c777 17697. r=dougt. we now throw a dialog when we can't find a protocol handler. 2000-01-12 22:54:07 +00:00
valeski%netscape.com
1880626278 r=rpotts. 14696. We now throw dialogs when dns fails, and when a protocol isn't avail for protocols *entered in the url bar*. 2000-01-11 23:11:32 +00:00
mscott%netscape.com
5e07dc265e Bug #20132 --> pass in the interface request object into open url.
Some plugin code in nsWebShell::GetInterface broke progress / status information because it broke
the GetInterface method for webshell. I fixed this.
r=rpotts
2000-01-11 20:59:24 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
waterson%netscape.com
74c48d36ca Bug 22294. Use aURI's spec (rather than mURL) to cough up a URL for global history. r=mscott 2000-01-11 01:11:31 +00:00
blizzard%redhat.com
d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
rpotts%netscape.com
af4f9c2189 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
rpotts%netscape.com
38fc9e5e0f Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
rpotts%netscape.com
9619211274 Docloader/URIloader integration... Temporarily added CreateViewer(...) to the WebShell (moved from the DocLoader). This will ultimately end up in the DocShell... 1999-12-28 09:18:47 +00:00
radha%netscape.com
85bec7089a Fix for bug # 21567. Mail composer urls get in to SH. This is a regression from some of
the recent uriLoader changes. r=mscott, a=don
1999-12-22 21:35:18 +00:00
dougt%netscape.com
7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
sspitzer%netscape.com
e8a4061a40 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
tbogard%aol.net
6fa5ae3daa Fixed CanHandle to check against the validity of the parent being returned rather than the success of the function. Removed some code that was taken out a few days ago. Morse accidently put it back in when checking in his local version of nsWebShell.cpp. 1999-12-21 02:18:51 +00:00
tbogard%aol.net
66dad8a9a4 Removed GetWebShellType as it is no longer in the nsIWebShell API. Rely on the docshell implementation of accessing the ChromeEventHandler, the parentContentListener, GetProtocolHandler(), GetTitle(), LoadURI(), LoadURIVia(), GetDocument(), GetCurrentURI(), GetPresContext(), GetPresShell(), and GetContentViewer(). Fixed a leak in SetTitle() when in frames. Introduced when I removed the passing along of the title to the parent (comPtrs would have prevented this leak). 1999-12-21 00:19:59 +00:00
morse%netscape.com
f4b2441812 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
tbogard%aol.net
c072d9b525 WebShell is now a subclass of docshell. This allows for a migration path to start taking things out of webshell. Removed many things from nsIWebShell interface. Removed many member variables to rely on the ones in docshell base class. Fixed bug number 13385 and 9995 by not setting the title of the parent frame when a title is set on a child. 1999-12-18 02:29:57 +00:00
ftang%netscape.com
930131891c fix bug 21722. move charsetreload state clean up code from OnEndURLLoad to OnEndDocumentLoad. r=rpotts. 1999-12-15 21:26:12 +00:00
danm%netscape.com
6ad070506f added deathgrip to survive window destruction during onload handler. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:18:52 +00:00
pollmann%netscape.com
3657f5ebf1 Bug 20315: Make non-iso charsets work in frameset documents. Fix 1/2: Propagate charset info through webshell reloads r=ftang a=chofmann 1999-12-13 22:41:09 +00:00
tbogard%aol.net
ee03550247 Implemented changes to nsIDocShellTreeItem and nsIDocShellTreeNode interfaces. FindChildWithName and FindItemWithName. Work to fix bug 21287. r=shaver a=shaver. 1999-12-12 10:16:15 +00:00
buster%netscape.com
0edefdc22a bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly
causing nsHTMLDocument to instantiate a parser and fire off a parse.
bad circular references ensued. The fix is to use the "aCommand" param
to pass a hint to the nsHTMLDocument, telling it there's no need to
involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open
mozilla.exe, look at a page (whether it has a text control on it or
not), and shut down the app, no webshell is leaked.  If I browse around,
sometimes we still leak a webshell somewhere.  I haven't figured out
exactly where that is yet.  A guess is history, which is in the process
of being reworked anyway.

r=mscott
a=chofmann
1999-12-09 07:21:34 +00:00
tbogard%aol.net
051d84eb54 Fix for 21113. 1999-12-08 05:00:51 +00:00
tbogard%aol.net
93668cfc38 Added some methods to nsIDocShellTreeItem... It now understands the concept of being of the chrome or content type. Added convenience methods to traverse up the tree with a restriction of same item type. 1999-12-08 04:57:23 +00:00
mscott%netscape.com
aa86b996e5 Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
style version.
r=travis
1999-12-06 22:32:06 +00:00
danm%netscape.com
86ab0c4552 adjusting chrome for new _blank windows 1999-12-06 01:40:51 +00:00
tbogard%aol.net
65dac36c84 Fixed a couple of problems with FindChildWithName. 1999-12-03 11:22:54 +00:00
tbogard%aol.net
f593347cb9 WebShell now implements the nsIDocShellTreeItem and nsIDocShellTreeNode interfaces. 1999-12-03 10:57:59 +00:00
tbogard%aol.net
eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
mscott%netscape.com
23fde50053 Fix a webshell leak! improper nsCOMPtr useage in DestroyChildren was causing us to leak
all child webshells!!! uhuh...that couldn't have been good
1999-12-02 23:46:00 +00:00
tbogard%aol.net
42baa75378 Implemented the nsIBaseWindow::FocusAvailable. Hooked up the old nsIWebShellContainer::FocusAvailable to go through the new one. 1999-12-02 10:11:38 +00:00
tbogard%aol.net
e021e1fe53 Stubbed out the implementation of FocusAvailable in webshell as part of the nsIBaseWindow interface. 1999-12-02 09:43:07 +00:00
mscott%netscape.com
a35676baf1 openuri now takes a nsURILoaderCommand
remove protocol scheme check before using the uri loader. this
means that all urls will run through the uriloader regardless of
 type when it gets turned on.
webshell:
doContent and canHandleContent now take a nsURILoaderCommand
modify the handle link click event method to pass in
in the nsIURILoader::viewUserClick command to the uri loader
r=travis
1999-12-02 07:00:17 +00:00
tbogard%aol.net
0f3e5cfb03 Added attribute for setting and getting the nsIDocShellTreeOwner. 1999-12-02 04:34:09 +00:00
buster%netscape.com
0d35e09766 fixed 20170
r=karnaze
1999-12-01 22:28:51 +00:00
tbogard%aol.net
2472113dc8 nsWebShell now implements nsIDocShellContainer. 1999-12-01 03:41:43 +00:00
mscott%netscape.com
0e2ff650d6 uri dispatching nit...if the webshell doesn't have a parent content uri listener then
return an error code instead of NS_OK.
1999-12-01 00:16:25 +00:00
tbogard%aol.net
df09e67688 Trying to put CallQueryInterface back in. Lets see if Wensleydale likes it better with a .get(). 1999-11-30 23:50:01 +00:00
tbogard%aol.net
f4f62bed05 Errr, this should help baby wensleydale. 1999-11-30 06:02:46 +00:00
warren%netscape.com
e480d13275 Workaround for Solaris bustage. 1999-11-30 05:58:24 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
tbogard%aol.net
f66740f59e nsWebShell now implements nsIDocShell. This is to pave the way for getting converted over to the docshell world. r=pavlov 1999-11-30 04:32:09 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
mscott%netscape.com
a260948fc1 small uri dispatching nit...I needed to add nsIURIContentListener to the GetInterface method on nsIWebShell. 1999-11-30 00:09:00 +00:00