Commit Graph

450 Commits

Author SHA1 Message Date
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
tbogard%aol.net
f1a20118ed Implemented changes to nsIDocShellTreeItem and nsIDocShellTreeNode. FindItemWithName and FindChildWithName. Work to fix bug 21287. r=shaver a=shaver. 1999-12-12 10:15:26 +00:00
tbogard%aol.net
bc67ccdca4 Added a parameter to FindChildWithName to know if it should recurse through the children. Also added a parameter to specify the calling treeItem to avoid circular recursion. Work to fix bug 21287. r=shaver a=shaver. 1999-12-12 10:14:41 +00:00
tbogard%aol.net
670cf3b6f9 Added the ability to find a docshellTreeItem with the given name per the API. Work to fix bug 21287. r=shaver a=shaver. 1999-12-12 10:13:00 +00:00
tbogard%aol.net
3fa4d48b06 Removed nsIDocShellContainer.idl, added nsIDocShellTreeOwner.idl. 1999-12-12 10:10:36 +00:00
tbogard%aol.net
2b9645ecdc Removed nsIDocShellContainer since it is no longer used and is replaced by nsIDocShellTreeNode. 1999-12-12 09:04:04 +00:00
tbogard%aol.net
aae36c3580 Added nsIDocShellTreeItem.idl to the build removed nsIDocShellContainer.idl from the build.r=hyatt 1999-12-12 08:52:03 +00:00
tbogard%aol.net
ef46f03ddc Adding a new interface. 1999-12-12 08:47:00 +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
91c8dcb560 fix for 21113 1999-12-08 05:01:06 +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
tbogard%aol.net
adcb67f352 Replaced includes and references to nsIScriptContextOwner with nsIScriptGlobalObjectOwner. 1999-12-08 04:54:33 +00:00
mscott%netscape.com
f46a967be2 Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
style version.

Fixed a memory leak of the global window.

r=travis
1999-12-06 22:32:32 +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
d6d32629ea Add nsXPIDLString.h include. 1999-12-03 12:10:31 +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
1aa0d94b1d Fixed logic problem with GetRootTreeItem. 1999-12-03 10:57:11 +00:00
tbogard%aol.net
9f3d5bfa86 Re-ordered a couple of methods to be under the right interface section. 1999-12-03 10:35:43 +00:00
tbogard%aol.net
e8676ab76d Added the concept of the treeItem and node. This breaks up nsIDocShell a little bit. 1999-12-03 10:29:08 +00:00
tbogard%aol.net
43204fa241 Adding nsIDocShellTreeItem.idl to be compiled. 1999-12-03 10:02:00 +00:00
tbogard%aol.net
b0e0640daa Adding two new interfaces to deal with the docshell tree. 1999-12-03 10:00:23 +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
658ccd00a8 Added new interface nsIDocShellTreeNode that will replace nsIDocShellContainer. 1999-12-02 11:54:40 +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
0f6eaf069d Was acidentally incrementing the counter before requesting the element. 1999-12-02 10:05:17 +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
tbogard%aol.net
0601612adf Implemented the new FocusAvailable in docshell as part of the nsIBaseWindow interface. 1999-12-02 09:42:11 +00:00
mscott%netscape.com
2aa5ceb797 Pass nsURILoadCommand's instead of char * around for the command associated with the url. 1999-12-02 07:09:06 +00:00
mscott%netscape.com
fc735a32a8 api synch with uri loader --> use nsURILoaderCommand
r=travis
1999-12-02 07:01:11 +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
tbogard%aol.net
8b7ac4125d Removed now defunct interfaces. 1999-12-02 01:30:41 +00:00
tbogard%aol.net
a4d7be6cba Removed nsIDocShellEdit.idl and nsIDocShellFile.idl. 1999-12-02 00:59:28 +00:00
tbogard%aol.net
4058118557 Removed 1999-12-02 00:58:49 +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
tbogard%aol.net
fbd97c3675 Changed a ->QueryInterface into a CallQueryInterface. Also cleaned up RemoveChild to return an error when an invalid child is passed in. 1999-12-01 03:37:21 +00:00
tbogard%aol.net
11a750afde Removed old commented out code for the now defunct nsIDocShellEdit and nsIDocShellFile interfaces. Replaced nsIDocShellContainer::GetEnumerator with nsIDocShellContainer::GetChildAt(). Also provided implementation for that function. 1999-12-01 03:08:58 +00:00
tbogard%aol.net
e8c531fad1 Removed nsIDocShellFile and nsIDocShellEdit from the include list. 1999-12-01 03:07:02 +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
erik%netscape.com
7cde78d9d1 Adding local .cvsignore file; r=none 1999-11-30 23:22:27 +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