Commit Graph
495 Commits
Author SHA1 Message Date
rpotts@netscape.com 5d4a8a8ba0 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
rpotts@netscape.com 7316864ac3 Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
sspitzer@netscape.com e03f762b2f fix warnings 1999-12-28 19:41:57 +00:00
rpotts@netscape.com 70becc31f0 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
sspitzer@netscape.com 6231389004 ignore generated makefiles 1999-12-24 09:16:59 +00:00
radha@netscape.com f3e5ae7f97 Initial checkin. r=law a=don 1999-12-22 22:35:31 +00:00
radha@netscape.com fb9a42b0a9 New Session Hsitory in its own directory.
Initial checkin. r=law a=don
1999-12-22 22:33:16 +00:00
radha@netscape.com 545663efad 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 db7362bc77 fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
sspitzer@netscape.com 102dfad206 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 939aaf57aa 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 23f221d3e7 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
tbogard@aol.net 66888d2099 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 e6c00374c5 mParentContentListener is now held as a weak reference as it should be. 1999-12-21 00:09:48 +00:00
nisheeth@netscape.com f0d3ba0a8f Removing ifdef MOZ_PERF_METRICS code from docshell. Does not affect build. 1999-12-20 23:22:17 +00:00
morse@netscape.com f294ca2769 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
tbogard@aol.net 6117ad7c9f 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
tbogard@aol.net 7615504a65 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 cb62cac078 Now has an nsIChromeEventHandler attribute. 1999-12-18 02:20:35 +00:00
tbogard@aol.net 99ff453a38 Updated the algorithm documentation. Changed aRequestor to be an nsISupports rather than an nsIDocShellTreeItem since nsIDocShellTreeOwner will need to be passed as the requestor too. 1999-12-18 02:19:56 +00:00
tbogard@aol.net 5804c862dd updated comment. 1999-12-18 02:18:21 +00:00
ftang@netscape.com fe2a02dcf1 fix bug 21722. move charsetreload state clean up code from OnEndURLLoad to OnEndDocumentLoad. r=rpotts. 1999-12-15 21:26:12 +00:00
buster@netscape.com ec61077995 initial checkin of idl files for header files that are already used (but not generated)
in the build.  These idl files are NOT hooked up to the build yet.
1999-12-15 05:12:18 +00:00
danm@netscape.com 4f1683bfef 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 df3ca52f61 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 fb7e183f32 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 61a598a4c7 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 2e7107f840 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 b74ac9926d 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 1bee2b6546 Removed nsIDocShellContainer.idl, added nsIDocShellTreeOwner.idl. 1999-12-12 10:10:36 +00:00
tbogard@aol.net 1667ea4741 Removed nsIDocShellContainer since it is no longer used and is replaced by nsIDocShellTreeNode. 1999-12-12 09:04:04 +00:00
tbogard@aol.net c7bf7c0817 added files: mozilla/docshell/base/nsIDocShellTreeOwner.idl 1999-12-12 08:54:37 +00:00
tbogard@aol.net c3f185a28c removed files: mozilla/docshell/base/nsIDocShellContainer.idl 1999-12-12 08:54:02 +00:00
tbogard@aol.net c89ebff761 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 e7ce64b23c Adding a new interface. 1999-12-12 08:47:00 +00:00
buster@netscape.com c4e5a8789c 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 393cdaa00a fix for 21113 1999-12-08 05:01:06 +00:00
tbogard@aol.net ed485904ed Fix for 21113. 1999-12-08 05:00:51 +00:00
tbogard@aol.net 4fb738335a 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 d3f6807f99 Replaced includes and references to nsIScriptContextOwner with nsIScriptGlobalObjectOwner. 1999-12-08 04:54:33 +00:00
mscott@netscape.com 6b3844013e 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 66a98d1946 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 9b5ef2319b adjusting chrome for new _blank windows 1999-12-06 01:40:51 +00:00
tbogard@aol.net 1cf425ea08 Add nsXPIDLString.h include. 1999-12-03 12:10:31 +00:00
tbogard@aol.net c5d741b605 Fixed a couple of problems with FindChildWithName. 1999-12-03 11:22:54 +00:00
tbogard@aol.net e8f905bcbe WebShell now implements the nsIDocShellTreeItem and nsIDocShellTreeNode interfaces. 1999-12-03 10:57:59 +00:00
tbogard@aol.net ca37896dcd Fixed logic problem with GetRootTreeItem. 1999-12-03 10:57:11 +00:00
tbogard@aol.net 491b77d207 Re-ordered a couple of methods to be under the right interface section. 1999-12-03 10:35:43 +00:00
tbogard@aol.net 07f6326d03 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 4aab8f5e38 added files: mozilla/docshell/base/nsIDocShellTreeItem.idl, mozilla/docshell/base/nsIDocShellTreeNode.idl 1999-12-03 10:04:09 +00:00