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
tbogard%aol.net
f6bae4fcad
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
ad0cec9bd2
mParentContentListener is now held as a weak reference as it should be.
1999-12-21 00:09:48 +00:00
nisheeth%netscape.com
fe37843a88
Removing ifdef MOZ_PERF_METRICS code from docshell. Does not affect build.
1999-12-20 23:22:17 +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
tbogard%aol.net
d8f2668f89
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
f9cac58cac
Now has an nsIChromeEventHandler attribute.
1999-12-18 02:20:35 +00:00
tbogard%aol.net
88cdd107e6
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
b877556678
updated comment.
1999-12-18 02:18:21 +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
buster%netscape.com
dbfb2d715b
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
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
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
b78ecf62ab
added files: mozilla/docshell/base/nsIDocShellTreeOwner.idl
1999-12-12 08:54:37 +00:00
tbogard%aol.net
e516b987ed
removed files: mozilla/docshell/base/nsIDocShellContainer.idl
1999-12-12 08:54:02 +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
3b3a312f47
added files: mozilla/docshell/base/nsIDocShellTreeItem.idl, mozilla/docshell/base/nsIDocShellTreeNode.idl
1999-12-03 10:04:09 +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