494 Commits

Author SHA1 Message Date
blizzard%redhat.com
1f1ce365e8 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard
git-svn-id: svn://10.0.0.236/trunk@56630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 22:03:58 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
rpotts%netscape.com
6c8a79d72b Removed obsolete method nsIDocumentLoader::LoadOpenedDocument.
git-svn-id: svn://10.0.0.236/trunk@56596 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 05:10:21 +00:00
sspitzer%netscape.com
3f096cd0c6 fix warnings
git-svn-id: svn://10.0.0.236/trunk@56571 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:41:57 +00:00
rpotts%netscape.com
99c14b72b1 Docloader/URIloader integration... Temporarily added CreateViewer(...) to the WebShell (moved from the DocLoader). This will ultimately end up in the DocShell...
git-svn-id: svn://10.0.0.236/trunk@56567 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 09:18:47 +00:00
radha%netscape.com
71c4f7bb3c Initial checkin. r=law a=don
git-svn-id: svn://10.0.0.236/trunk@56434 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:35:31 +00:00
radha%netscape.com
782817bba7 New Session Hsitory in its own directory.
Initial checkin. r=law a=don


git-svn-id: svn://10.0.0.236/trunk@56433 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:33:16 +00:00
radha%netscape.com
3d2c7b5292 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


git-svn-id: svn://10.0.0.236/trunk@56419 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:35:18 +00:00
dougt%netscape.com
41e83422c9 fix for 16273. r=valeski, a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:47:59 +00:00
sspitzer%netscape.com
2e52c17f46 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.


git-svn-id: svn://10.0.0.236/trunk@56308 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 23:03:29 +00:00
tbogard%aol.net
b955fe7eac 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.
git-svn-id: svn://10.0.0.236/trunk@56264 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 02:18:51 +00:00
tbogard%aol.net
7d6b0b15c0 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).
git-svn-id: svn://10.0.0.236/trunk@56256 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:19:59 +00:00
tbogard%aol.net
552210fa4d 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.
git-svn-id: svn://10.0.0.236/trunk@56251 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:11:33 +00:00
tbogard%aol.net
aed8e309c8 mParentContentListener is now held as a weak reference as it should be.
git-svn-id: svn://10.0.0.236/trunk@56250 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:09:48 +00:00
nisheeth%netscape.com
de968913c4 Removing ifdef MOZ_PERF_METRICS code from docshell. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@56242 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:22:17 +00:00
morse%netscape.com
6fa6d63278 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56217 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 18:32:21 +00:00
tbogard%aol.net
71a81af045 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.
git-svn-id: svn://10.0.0.236/trunk@56173 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:29:57 +00:00
tbogard%aol.net
95e07fc34c 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.
git-svn-id: svn://10.0.0.236/trunk@56171 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:23:31 +00:00
tbogard%aol.net
505511aeb9 Now has an nsIChromeEventHandler attribute.
git-svn-id: svn://10.0.0.236/trunk@56170 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:20:35 +00:00
tbogard%aol.net
4bb65d9fff 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.
git-svn-id: svn://10.0.0.236/trunk@56169 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:19:56 +00:00
tbogard%aol.net
f45f1035ef updated comment.
git-svn-id: svn://10.0.0.236/trunk@56168 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:18:21 +00:00
ftang%netscape.com
e7619714a6 fix bug 21722. move charsetreload state clean up code from OnEndURLLoad to OnEndDocumentLoad. r=rpotts.
git-svn-id: svn://10.0.0.236/trunk@56053 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 21:26:12 +00:00
buster%netscape.com
5bef320ec8 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.


git-svn-id: svn://10.0.0.236/trunk@56036 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 05:12:18 +00:00
danm%netscape.com
7fc2e6b04a added deathgrip to survive window destruction during onload handler. part of fix for bug 19302. r:hyatt a:chofmann
git-svn-id: svn://10.0.0.236/trunk@56015 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 02:18:52 +00:00
pollmann%netscape.com
89f8ed5563 Bug 20315: Make non-iso charsets work in frameset documents. Fix 1/2: Propagate charset info through webshell reloads r=ftang a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55935 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:41:09 +00:00
tbogard%aol.net
933fcf7691 Implemented changes to nsIDocShellTreeItem and nsIDocShellTreeNode interfaces. FindChildWithName and FindItemWithName. Work to fix bug 21287. r=shaver a=shaver.
git-svn-id: svn://10.0.0.236/trunk@55922 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 10:16:15 +00:00
tbogard%aol.net
2e299693a9 Implemented changes to nsIDocShellTreeItem and nsIDocShellTreeNode. FindItemWithName and FindChildWithName. Work to fix bug 21287. r=shaver a=shaver.
git-svn-id: svn://10.0.0.236/trunk@55921 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 10:15:26 +00:00
tbogard%aol.net
0807b27f4a 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.
git-svn-id: svn://10.0.0.236/trunk@55920 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 10:14:41 +00:00
tbogard%aol.net
847ca747b9 Added the ability to find a docshellTreeItem with the given name per the API. Work to fix bug 21287. r=shaver a=shaver.
git-svn-id: svn://10.0.0.236/trunk@55919 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 10:13:00 +00:00
tbogard%aol.net
4503d0b854 Removed nsIDocShellContainer.idl, added nsIDocShellTreeOwner.idl.
git-svn-id: svn://10.0.0.236/trunk@55918 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 10:10:36 +00:00
tbogard%aol.net
1eb50dbb5a Removed nsIDocShellContainer since it is no longer used and is replaced by nsIDocShellTreeNode.
git-svn-id: svn://10.0.0.236/trunk@55917 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 09:04:04 +00:00
tbogard%aol.net
17e69911b9 added files: mozilla/docshell/base/nsIDocShellTreeOwner.idl
git-svn-id: svn://10.0.0.236/trunk@55916 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 08:54:37 +00:00
tbogard%aol.net
51a5a2178c removed files: mozilla/docshell/base/nsIDocShellContainer.idl
git-svn-id: svn://10.0.0.236/trunk@55915 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 08:54:02 +00:00
tbogard%aol.net
a7f2f7297e Added nsIDocShellTreeItem.idl to the build removed nsIDocShellContainer.idl from the build.r=hyatt
git-svn-id: svn://10.0.0.236/trunk@55914 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 08:52:03 +00:00
tbogard%aol.net
7dd0882349 Adding a new interface.
git-svn-id: svn://10.0.0.236/trunk@55913 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-12 08:47:00 +00:00
buster%netscape.com
be158e5272 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


git-svn-id: svn://10.0.0.236/trunk@55797 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 07:21:34 +00:00
tbogard%aol.net
f01bf79f81 fix for 21113
git-svn-id: svn://10.0.0.236/trunk@55726 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:01:06 +00:00
tbogard%aol.net
a0be83af64 Fix for 21113.
git-svn-id: svn://10.0.0.236/trunk@55725 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:00:51 +00:00
tbogard%aol.net
4f5266923d 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.
git-svn-id: svn://10.0.0.236/trunk@55719 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:57:23 +00:00
tbogard%aol.net
811976b56b Replaced includes and references to nsIScriptContextOwner with nsIScriptGlobalObjectOwner.
git-svn-id: svn://10.0.0.236/trunk@55716 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:54:33 +00:00
mscott%netscape.com
ea7c0c0563 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


git-svn-id: svn://10.0.0.236/trunk@55453 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:32:32 +00:00
mscott%netscape.com
8d56484c5e Bug #20700 --> fix view source by converting back and forth between nsURILoadCommand's and the old string
style version.
r=travis


git-svn-id: svn://10.0.0.236/trunk@55452 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:32:06 +00:00
danm%netscape.com
947c3cd8c1 adjusting chrome for new _blank windows
git-svn-id: svn://10.0.0.236/trunk@55389 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 01:40:51 +00:00
tbogard%aol.net
4698adc719 Add nsXPIDLString.h include.
git-svn-id: svn://10.0.0.236/trunk@55191 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 12:10:31 +00:00
tbogard%aol.net
14bb6fa0ab Fixed a couple of problems with FindChildWithName.
git-svn-id: svn://10.0.0.236/trunk@55189 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 11:22:54 +00:00
tbogard%aol.net
7645dfa57c WebShell now implements the nsIDocShellTreeItem and nsIDocShellTreeNode interfaces.
git-svn-id: svn://10.0.0.236/trunk@55188 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:57:59 +00:00
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