448 Commits

Author SHA1 Message Date
tbogard%aol.net
c2b90e3bbb Fixed logic problem with GetRootTreeItem.
git-svn-id: svn://10.0.0.236/trunk@55187 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:57:11 +00:00
tbogard%aol.net
2632a072f5 Re-ordered a couple of methods to be under the right interface section.
git-svn-id: svn://10.0.0.236/trunk@55186 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:35:43 +00:00
tbogard%aol.net
3549f77d57 Added the concept of the treeItem and node. This breaks up nsIDocShell a little bit.
git-svn-id: svn://10.0.0.236/trunk@55183 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:29:08 +00:00
tbogard%aol.net
b2fedc2225 added files: mozilla/docshell/base/nsIDocShellTreeItem.idl, mozilla/docshell/base/nsIDocShellTreeNode.idl
git-svn-id: svn://10.0.0.236/trunk@55181 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:04:09 +00:00
tbogard%aol.net
bdf7b78cd4 Adding nsIDocShellTreeItem.idl to be compiled.
git-svn-id: svn://10.0.0.236/trunk@55180 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:02:00 +00:00
tbogard%aol.net
ab67ca9638 Adding two new interfaces to deal with the docshell tree.
git-svn-id: svn://10.0.0.236/trunk@55179 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:00:23 +00:00
tbogard%aol.net
067920c238 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.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
mscott%netscape.com
82c4ad3f35 Fix a webshell leak! improper nsCOMPtr useage in DestroyChildren was causing us to leak
all child webshells!!! uhuh...that couldn't have been good


git-svn-id: svn://10.0.0.236/trunk@55112 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:46:00 +00:00
tbogard%aol.net
c494d95016 Added new interface nsIDocShellTreeNode that will replace nsIDocShellContainer.
git-svn-id: svn://10.0.0.236/trunk@55070 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 11:54:40 +00:00
tbogard%aol.net
d85ad8e6a8 Implemented the nsIBaseWindow::FocusAvailable. Hooked up the old nsIWebShellContainer::FocusAvailable to go through the new one.
git-svn-id: svn://10.0.0.236/trunk@55065 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:11:38 +00:00
tbogard%aol.net
ce40600633 Was acidentally incrementing the counter before requesting the element.
git-svn-id: svn://10.0.0.236/trunk@55063 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:05:17 +00:00
tbogard%aol.net
557ca2808d Stubbed out the implementation of FocusAvailable in webshell as part of the nsIBaseWindow interface.
git-svn-id: svn://10.0.0.236/trunk@55061 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:43:07 +00:00
tbogard%aol.net
116c31c15c Implemented the new FocusAvailable in docshell as part of the nsIBaseWindow interface.
git-svn-id: svn://10.0.0.236/trunk@55060 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:42:11 +00:00
mscott%netscape.com
efb225519d Pass nsURILoadCommand's instead of char * around for the command associated with the url.
git-svn-id: svn://10.0.0.236/trunk@55046 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:09:06 +00:00
mscott%netscape.com
36a060eb5a api synch with uri loader --> use nsURILoaderCommand
r=travis


git-svn-id: svn://10.0.0.236/trunk@55045 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:01:11 +00:00
mscott%netscape.com
ead0de0810 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


git-svn-id: svn://10.0.0.236/trunk@55042 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:00:17 +00:00
tbogard%aol.net
738906d4eb Added attribute for setting and getting the nsIDocShellTreeOwner.
git-svn-id: svn://10.0.0.236/trunk@55017 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:34:09 +00:00
tbogard%aol.net
029d334c68 Removed now defunct interfaces.
git-svn-id: svn://10.0.0.236/trunk@54993 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:30:41 +00:00
tbogard%aol.net
a98d9b0127 Removed nsIDocShellEdit.idl and nsIDocShellFile.idl.
git-svn-id: svn://10.0.0.236/trunk@54974 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 00:59:28 +00:00
tbogard%aol.net
a6025a81a4 Removed
git-svn-id: svn://10.0.0.236/trunk@54973 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 00:58:49 +00:00
buster%netscape.com
b42d830267 fixed 20170
r=karnaze


git-svn-id: svn://10.0.0.236/trunk@54945 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:28:51 +00:00
tbogard%aol.net
fc5ff178f4 nsWebShell now implements nsIDocShellContainer.
git-svn-id: svn://10.0.0.236/trunk@54857 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:41:43 +00:00
tbogard%aol.net
c9619810e9 Changed a ->QueryInterface into a CallQueryInterface. Also cleaned up RemoveChild to return an error when an invalid child is passed in.
git-svn-id: svn://10.0.0.236/trunk@54856 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:37:21 +00:00
tbogard%aol.net
661a51c2e6 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.
git-svn-id: svn://10.0.0.236/trunk@54852 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:08:58 +00:00
tbogard%aol.net
7df87d2580 Removed nsIDocShellFile and nsIDocShellEdit from the include list.
git-svn-id: svn://10.0.0.236/trunk@54849 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:07:02 +00:00
mscott%netscape.com
dae428b1cc uri dispatching nit...if the webshell doesn't have a parent content uri listener then
return an error code instead of NS_OK.


git-svn-id: svn://10.0.0.236/trunk@54825 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:16:25 +00:00
tbogard%aol.net
79db5ee378 Trying to put CallQueryInterface back in. Lets see if Wensleydale likes it better with a .get().
git-svn-id: svn://10.0.0.236/trunk@54815 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:50:01 +00:00
warren%netscape.com
783b66f200 Removed neckoutil_s.lib
git-svn-id: svn://10.0.0.236/trunk@54736 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 07:58:20 +00:00
tbogard%aol.net
de88fc736a Errr, this should help baby wensleydale.
git-svn-id: svn://10.0.0.236/trunk@54729 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 06:02:46 +00:00
warren%netscape.com
1d923b140b Workaround for Solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@54728 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:58:24 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
7b9a93526f nsWebShell now implements nsIDocShell. This is to pave the way for getting converted over to the docshell world. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@54716 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:32:09 +00:00
tbogard%aol.net
f7f16de3f9 Adding new line at the end of the file to get rid of the warning.
git-svn-id: svn://10.0.0.236/trunk@54711 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 03:50:05 +00:00
tbogard%aol.net
a418adda08 link with jsdom.dll so we get the methods to create a new ScriptGlobalObject and context.
git-svn-id: svn://10.0.0.236/trunk@54690 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 01:08:08 +00:00
tbogard%aol.net
52d498cd64 nsDocShell now implements nsIScriptContextOwner.
git-svn-id: svn://10.0.0.236/trunk@54688 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 01:06:59 +00:00
tbogard%aol.net
8ecae333e4 Declare that nsCDocShell implements nsIScriptContextOwner.
git-svn-id: svn://10.0.0.236/trunk@54687 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 01:05:28 +00:00
dougt%netscape.com
0c53e29d87 fix for 18078. r=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
pinkerton%netscape.com
54aadbcdf0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@54637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:12:08 +00:00
mscott%netscape.com
c3a13e7ff6 small uri dispatching nit...I needed to add nsIURIContentListener to the GetInterface method on nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@54633 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:09:00 +00:00
tbogard%aol.net
69d46f87ef wensleydale rides the short bus. Lets see if it can understand a basic QueryInterface since CallQueryInterface seems to be too much for it's little brain to handle.
git-svn-id: svn://10.0.0.236/trunk@54629 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 23:25:25 +00:00
tbogard%aol.net
62ff5ce10b A couple of changes to get building on Unix. Thanks to andreas.otte@primus-online.de for the patch.
git-svn-id: svn://10.0.0.236/trunk@54606 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:12:28 +00:00
tbogard%aol.net
4628d34d47 Changes to get DocShell building again with URILoader changes.
git-svn-id: svn://10.0.0.236/trunk@54602 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:00:35 +00:00
pavlov%netscape.com
fc583283d5 build some files r=travis
git-svn-id: svn://10.0.0.236/trunk@54598 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:34:42 +00:00
danm%netscape.com
5d1fa83609 updated to match nsIWebShell interface change for travis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54590 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:15:32 +00:00
tbogard%aol.net
3255f4c635 Updated the UNIX makefiles to be in sync with the Windows ones. (Not Part of the build).
git-svn-id: svn://10.0.0.236/trunk@54569 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 18:42:33 +00:00
tbogard%aol.net
1f92049a42 Changes to reflect the fact that the nsIDocShell API now has a GetPresShell. Used NS_STATIC_CAST on a comparison to 'this'. (Not Part of build).
git-svn-id: svn://10.0.0.236/trunk@54568 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 18:41:59 +00:00
tbogard%aol.net
71e137989b Added a readonly attribute to get the PresShell. (Not Part of the build)
git-svn-id: svn://10.0.0.236/trunk@54567 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 18:40:06 +00:00
tbogard%aol.net
a4caa04804 Implemented GetPositionAndSize.... Fixed some calls to DOMHandleEvent.
git-svn-id: svn://10.0.0.236/trunk@54560 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 07:47:20 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
tbogard%aol.net
e8adbc0279 nsWebShell now implements nsIBaseWindow. Part of the steps to getting call sites calling the new interfaces rather than nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@54487 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:14:40 +00:00