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

116 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com 55f8928669 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 9eca8cab59 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 bd98ffaa86 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 072cf93bb0 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 57b8b984fb 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 5b8603911e 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 e1fc2c5789 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 f550c199eb 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 0098abd512 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 6371dad16a 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 4196eff7c5 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 e8ae3eb5ca 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 dad4eb4fd0 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 49c54755fc Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
mstoltz%netscape.com a62193e278 Fix for bug 31818. Dogfood. r=brendan 2000-06-13 23:56:30 +00:00
ruslan%netscape.com a0cc90b5c0 Fix 41269. WIP on 31189. r/a=gagan 2000-06-02 21:02:31 +00:00
hyatt%netscape.com 560d4bdace Adding support for weak references on docshells. 2000-05-28 09:25:55 +00:00
locka%iol.ie fabcb5c5d6 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 c13637c4a1 New parameter for AddToSessionHistory #39668 2000-05-23 00:51:37 +00:00
sfraser%netscape.com 1fc1154443 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 9efc745de9 21137 Hook up reload/shift-reload/back/forward buttons to load att r = rpotts 2000-05-10 22:45:24 +00:00
tbogard%aol.net 8c0297f0d5 Made the constructor public to allow the generic factory to be used for creation. Removed the static Create. Removed EnsureGlobalHistory. Global History is now instantiated on startup. Changed GetStringBundle to GetPromptAndStringBundle since most people are always wanting to get both the prompt and the string bundle. 2000-04-21 23:31:40 +00:00
tbogard%aol.net ef312085a4 Cached the globalHistory service as it is called a lot especially when dealing with links up in the webshell. Fixed a bug in GetInterface where we were failing to do an else if so if you were requesting a nsIURIContentListener you ended up clearing out the object. 2000-04-16 08:39:15 +00:00
tbogard%aol.net 2320ecb1dd Moved the implementation of nsIRefreshURI into the docShell. Reordered CreateFixupURI to try simply creating the URI before actually doing any munging. Stop now calls CancelRefreshURITimers. String version of LoadURI now properly puts up error boxes for missing protocols. 2000-04-13 03:11:44 +00:00
tbogard%aol.net 17eb359088 Added an attribute for holding the charset info to be used during a load. 2000-04-12 00:07:04 +00:00
tbogard%aol.net bc63ef6237 Provided implementation for CreateFixupURI. Added needed parameters to DoURILoad and finished implementation. InternalLoad now takes needed parameters as well. 2000-04-11 23:52:42 +00:00
tbogard%aol.net c6f1b601bf CreateContentViewer() and NewContentViewer() no longer take the uri loading command as a parameter since they don't use it. InternalLoad now takes a window target parameter. DoURILoad now takes the uriloader command and a window target. 2000-04-04 00:04:04 +00:00
tbogard%aol.net bd79d0b0ac Implemented EnsureWebProgressListener(). You can now call GetInterface on the docshell to get to a nsIWebProgressListener interface. 2000-03-31 04:11:29 +00:00
tbogard%aol.net 5bfd3cc997 nsIDocShell::LoadURI now takes a nsIDocShellLoadInfo parameter to do fancier loads which include replacing current history slots and passing in a referrer. In the future more things may be set on the nsIDocShellLoadInfo interface. This allows us to not have to add a new parameter for every new type of load info that might be needed in different loads. 2000-03-30 22:38:32 +00:00
tbogard%aol.net f3c5352218 OnLoadingSite now takes a nsIChannel instead of a nsIURI. This allows us to get information out of the channel we may need such as the referrer. We now make sure we set the referrer during OnLoadingSite. Fixed a bug where the nsIWebProgressListener was getting found on the treeOwner even for frames. This was causing the the treeOwner to get notified of all actions happening in the children. Now we make sure to only set the listener for the top level frame. 2000-03-30 02:24:17 +00:00
tbogard%aol.net d68da2bdc7 Now properly enable retrieving the nsIWebProgressListener interface from the owning treeOwner. Added firing methods for all the methods in nsIWebProgressListener. onLocationChange is currently the only one that is validly firing however. 2000-03-29 10:29:58 +00:00
tbogard%aol.net 78708e1cb6 Provided implementation for Add and RemoveProgressListener. 2000-03-26 04:52:06 +00:00
tbogard%aol.net abbf7a0baa Updated the loadURI methods to reflect changes in the nsIDocShell API. ::Reload() now makes sure to pass the type on to the InternalLoad() call. ::Destroy() makes sure to properly tear down the script objects by setting the docshell and owner on those to null. When Scrolling to an anchor, make sure to update the current URI. The ::InternalLoad function now is responsible for updating the mUpdateHistoryOnLoad member, rather than relying on callers to set it first. When loading the site, only apply histories if we mUpdateHistoryOnLoad is set. Stubbed out a new function ::ShouldPersistInSessionHistory() that allows us to put all the code in place for items pages that shouldn't be persisted in the list, meaning items that are overwritten when new ones are added. 2000-03-25 03:43:27 +00:00
tbogard%aol.net 3df03018f3 Added support for setting a docShell into viewSource mode or viewNormal mode. Changed calls to creating the contentViewer to rely on the mode of the docshell for deciding the state it is in. Made docShell support the nsIWebProgress interface. Stubbed out the methods for it's implementation. 2000-03-14 04:36:55 +00:00
tbogard%aol.net 13a0c0a34b HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface. Added a member for stating if this docShell supports plugins or not. 2000-03-11 00:55:00 +00:00
tbogard%aol.net e823201370 Don't rely on the parent widget to have a device context. Create and cache our own just like the old webShell wolrd. Since we have our own, it can now cache the zoom state too. bug #30625. r=jud, waterson a=jevering 2000-03-08 03:58:33 +00:00
mscott%netscape.com 42800f579b Bug #21358 --> Make sure we only call the on load handler ONCE per document. This prevents a nasty loop if
the onload handler tries to load an ftp url.
r=travis
a=jar
2000-03-07 06:02:04 +00:00
norris%netscape.com a5c6bcf187 Fix 29541
r=travis,a=jar
2000-03-03 22:55:40 +00:00
tbogard%aol.net 50e31a9326 DoContent now call CreateContentViewer on the docShell to get the viewer created. Implemented CreateContentViewer(), NewContentViewer(), and SetupNewViewer() methods in the docshell. This gets docshell setup to be able to create it's own content viewers for loads. This is work to getting session history stuff working and bug 13374. r=mscott a=jevering 2000-02-29 22:32:24 +00:00
pollmann%netscape.com 3a67f9317c Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard%aol.net 8afcd5e683 mLoadCookie is now stored on the docshell instead of the contentListener. Started framing out the different parts of a load and management of session history and global history. Reload is now live. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:15:22 +00:00
tbogard%aol.net 5bcb0da090 PDT+ Fix for Bug #27279. When the current docshell was asked to find an item of a given name, it failed to return out when it itself was the name being searched for. Also provided implementation for Set/ GetSessionHistory and and GetCurrentURI. None of these methods are called yet. Changed the mLoadCookie to only be on the contentListener. This will probably change to only be on the docshell, but regardless, there should only be one between the two of them. r=mscott, jar. a=jar 2000-02-17 02:03:02 +00:00
tbogard%aol.net 83ea52d7e1 nsDocShell now implements the nsIWebNavigation interface. Added some stubbed code to Ensure that there is a content viewer. Also added stubbed code to Setup the content viewer when a new one is created. This will eventually replace the embed method. Removed the mCreated member as it is no longer needed. The destructor calls Destroy now to centralize the destruction code. r=hyatt 2000-02-14 06:40:28 +00:00
tbogard%aol.net 7812b664fc Added GetTarget() to be used to resolve targetting. 2000-01-30 07:34:10 +00:00
rpotts%netscape.com e4d36a4fca Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
tbogard%aol.net a2d7ce7db9 Fixed a couple of previously unitialized member variables. Implemented the setting and getting of the ChromeEventHandler attribute. Implemented the setting and getting of the title. 1999-12-21 00:11:33 +00:00
tbogard%aol.net 61e540c691 Changed nsresult protected functions to be NS_IMETHOD so they would be virtual thus allowing proper subclassing. Updated the algorithm for FindItemWithName. Added ChromeEventHandler attribute getter and setter stubs. 1999-12-18 02:23:31 +00:00
tbogard%aol.net d5f865bc3f 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 d7c10dfc1a 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 3cde9b048d 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 648ace3e23 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 929ee8727a Pass nsURILoadCommand's instead of char * around for the command associated with the url. 1999-12-02 07:09:06 +00:00
tbogard%aol.net 2ba249643b nsDocShell now implements nsIScriptContextOwner. 1999-11-30 01:06:59 +00:00
tbogard%aol.net 263f367110 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). 1999-11-29 18:41:59 +00:00
tbogard%aol.net 2209fa5d4f Changes to get this compiling again. 1999-11-23 10:15:10 +00:00
buster%netscape.com 5e269fcf05 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com ccabd9fdde Fix for bustage due to channel retargeting changes. 1999-11-17 09:22:47 +00:00
tbogard%aol.net d8fc99ac1d Got the code compiling again. 1999-11-17 08:57:00 +00:00
tbogard%aol.net 8b6a06641c Replaced nsIGenericWindow with nsIBaseWindow. 1999-11-17 08:45:28 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net c36aa8e5a7 nsIDocShell now has a readonly attribute for the currently loaded content viewer. 1999-11-15 22:54:47 +00:00
tbogard%aol.net b84c1c028a Removed QueryCapability to reflect removal in the nsIContentViewerContainer API. Changed call the nsIContentViewer::SetContainer() to cast to the right nsISupports. 1999-11-14 10:24:37 +00:00
tbogard%aol.net 54dcb3ec83 Implemented a number of the Positioning / Sizing routines. 1999-11-13 08:09:16 +00:00
tbogard%aol.net 5d128df319 Added CreateContentViewer and NewContentViewerObj methods for docShell. 1999-11-12 09:07:28 +00:00
tbogard%aol.net 3bd30f0e0c Now that we have decided that there is only one docshell for all content types, we needed to get rid of the base class/ content type implementation. This checkin takes and moves the nsDocShellBase to be nsDocShell. It now holds the nsIHTMLDocShell stuff. This will be going away. nsCDocShell was created to replace the previous nsCHTMLDocShell. 1999-11-12 07:28:25 +00:00