376 Commits

Author SHA1 Message Date
kmcclusk%netscape.com
4db1f54f79 Modified nsWebShell::GetLinkState to used a cached GlobalHistory service rather
than getting and releasing the service each time GetLinkState is called. Getting
the global history service shows up as a big hit during profiling because GetLinkState
gets called each time a link is encountered while resolving style contexts.


git-svn-id: svn://10.0.0.236/trunk@34082 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:26:10 +00:00
danm%netscape.com
07a75789a0 protect nsWebShell's destructor from being called recursively a little earlier in the destructor. fixes a crash (bug 7157).
git-svn-id: svn://10.0.0.236/trunk@33351 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:02:15 +00:00
ftang%netscape.com
36d5b17045 change the ReloadDocument implementation by using RefreshURL do avoid reentrance problem in libnet
git-svn-id: svn://10.0.0.236/trunk@33154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:32:29 +00:00
nhotta%netscape.com
bd54474c8c Added force character set.
git-svn-id: svn://10.0.0.236/trunk@33079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:31:55 +00:00
hyatt%netscape.com
6c7b70d9cf Web shells now know about their enclosed chrome shell.
git-svn-id: svn://10.0.0.236/trunk@32962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:05:27 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
waterson%netscape.com
2195264b65 Re-wrote to avoid use of NS_WITH_SERVICE macro; otherwise, we'll get annoying asserts in viewer.
git-svn-id: svn://10.0.0.236/trunk@32314 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 07:22:57 +00:00
ftang%netscape.com
f55cd93707 add method to push necessary informaiton to implement Meta charset observeration
git-svn-id: svn://10.0.0.236/trunk@32186 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:23:03 +00:00
waterson%netscape.com
cafeb46339 Enable link coloring.
git-svn-id: svn://10.0.0.236/trunk@32043 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:21:37 +00:00
vidur%netscape.com
24aec08ccf Prevent onunloads from bubbling.
git-svn-id: svn://10.0.0.236/trunk@31958 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:14:16 +00:00
hyatt%netscape.com
6327895932 Added an arg to createPopup.
git-svn-id: svn://10.0.0.236/trunk@31841 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:52:02 +00:00
hyatt%netscape.com
502c1e7de2 Adding a method to the webshell container for creating popup/context menus.
git-svn-id: svn://10.0.0.236/trunk@31678 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:40:03 +00:00
joki%netscape.com
e674affbbe Adding unload event during window closing.
git-svn-id: svn://10.0.0.236/trunk@31519 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:51:25 +00:00
karnaze%netscape.com
cf98d02097 bug 6161 - don't reinitialize mMarginWidth, mMarginHeight on doc load.
git-svn-id: svn://10.0.0.236/trunk@30906 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 02:34:17 +00:00
kipp%netscape.com
8bb7890749 Pass on SetRendering call to the content viewer if we have one
git-svn-id: svn://10.0.0.236/trunk@30700 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:25:58 +00:00
nisheeth%netscape.com
da218a6873 Implement LoadDocument(), a new method that is part of the nsIWebShellServices interface.
git-svn-id: svn://10.0.0.236/trunk@30621 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:21:57 +00:00
kipp%netscape.com
465da85c13 bye bye
git-svn-id: svn://10.0.0.236/trunk@30570 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:32:18 +00:00
kipp%netscape.com
acf352ca0d Ripped out the old doc-loader hackery and use the component manager to find viewers instead
git-svn-id: svn://10.0.0.236/trunk@30569 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:31:59 +00:00
kipp%netscape.com
22aaea44fd Moved some source files to layout
git-svn-id: svn://10.0.0.236/trunk@30568 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:29:46 +00:00
nisheeth%netscape.com
a29c40eeb9 The document loader that initiates the nsIDocumentLoaderObserver notifications is now passed up the document loader hierarchy. This was needed because external services that register as observers to the top level document loader expect to receive the document loader that is initiating the notification as a parameter in the notification. Earlier, they were always receiving the top level document loader regardless of which document loader initiated the notification.
git-svn-id: svn://10.0.0.236/trunk@30524 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:52:05 +00:00
nisheeth%netscape.com
a07e32563c - Implemented GetContentViewerContainer() in the nsDocLoaderImpl() object.
- Added charset parameters to LoadDocument(), a method defined in nsIWebShellServices


git-svn-id: svn://10.0.0.236/trunk@30507 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:54:40 +00:00
nisheeth%netscape.com
a0cb9d0fde - adding stubs for the methods in nsIWebShellServices implemented by the nsWebShell object.
- adding a stub implementation of the GetContentViewerContainer() method to nsDocLoaderImpl.


git-svn-id: svn://10.0.0.236/trunk@30497 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:58:48 +00:00
nisheeth%netscape.com
84d9443f3f Fix for bug 5850:
1) Add a RemoveChild() method to nsIWebshell.
2) nsWebshell::Destroy() calls this method on its parent to remove itself from the parent's child list.
3) Call nsWebshell::Destroy() from nsHTMLFrameInnerFrame's detructor.


git-svn-id: svn://10.0.0.236/trunk@30304 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:23:51 +00:00
hyatt%netscape.com
0942f97448 Changes to the APIS for webshellcontainers.
git-svn-id: svn://10.0.0.236/trunk@30285 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:34:10 +00:00
rickg%netscape.com
df58cedf1f update to nsString2 API
git-svn-id: svn://10.0.0.236/trunk@30087 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 06:38:37 +00:00
nisheeth%netscape.com
a4c948a4ab Fix for bug 5472. Approved by chofmann. Reviewed by Kipp.
git-svn-id: svn://10.0.0.236/trunk@30003 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:04:50 +00:00
waterson%netscape.com
cb7bd86fbe Bug 5695. Check return code from GetScriptGlobalObject() before trying to deref pointer. r=nisheeth,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 16:25:34 +00:00
pinkerton%netscape.com
71898e9062 win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@29834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 10:31:43 +00:00
pinkerton%netscape.com
03c53644f7 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come).
git-svn-id: svn://10.0.0.236/trunk@29831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 09:04:36 +00:00
kipp%netscape.com
90f8a71005 Cleaned up log messages; fixed doc loader to fire the OnEndDocumentLoad properly
git-svn-id: svn://10.0.0.236/trunk@29818 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:10:27 +00:00
kipp%netscape.com
d06aa22247 Use DestroyChildren instead of ReleaseChildren when destroying a webshell
git-svn-id: svn://10.0.0.236/trunk@29817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:09:52 +00:00
ftang%netscape.com
3dc5321803 fix bug 5644. reviewed by nisheeth and approved by cyeh. broadcast default character set to all the children and make sure all the children set to the same value when they are added to the parent
git-svn-id: svn://10.0.0.236/trunk@29771 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:59:08 +00:00
nisheeth%netscape.com
7474078c6a Passing in nsIDocumentLoader as a parameter to all functions in nsIDocumentLoaderObserver...
git-svn-id: svn://10.0.0.236/trunk@29727 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:47:40 +00:00
nisheeth%netscape.com
e6ce8d41cd - Backed out changes that sent notifications out to observers via the nsIExternalDocumentLoadObserver interface.
- Thanks a lot to Eric Burley (ericb@neoplanet.com) for fixing refcount related bugs.  His patch is included in this checkin.


git-svn-id: svn://10.0.0.236/trunk@29682 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:57:06 +00:00
law%netscape.com
91f6b4f1fe Remove reference to obsolete nsIURLListener
git-svn-id: svn://10.0.0.236/trunk@29640 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:40:01 +00:00
ftang%netscape.com
c87cd212c1 set the default charset of nsWebShell to ISO-8859-1
git-svn-id: svn://10.0.0.236/trunk@29186 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:05:18 +00:00
nisheeth%netscape.com
42a9fe0f25 Shortened filename to nsIExternalDocLoadObs.h to work around Mac build bustage. Filenames longer than 31 characters are a bad thing on the Mac.
git-svn-id: svn://10.0.0.236/trunk@29168 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 14:54:03 +00:00
nisheeth%netscape.com
0c212f7062 The doc loader sends out document load progress notifications to external observers. The list of external observers is built up on each new top level document load by consulting the nsObserver service.
git-svn-id: svn://10.0.0.236/trunk@29165 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 10:51:52 +00:00
scc%netscape.com
b2e4dd6105 s/false/0/ in my do-while
git-svn-id: svn://10.0.0.236/trunk@28904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:03:01 +00:00
akkana%netscape.com
1a212b013a Fix for scc to work around an apparent egcs bug
git-svn-id: svn://10.0.0.236/trunk@28888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:38:13 +00:00
scc%netscape.com
243023e5ca Added the ability to construct a XUL document from a stream
git-svn-id: svn://10.0.0.236/trunk@28859 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:30 +00:00
rickg%netscape.com
79181f780d updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28585 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:05:59 +00:00
hyatt%netscape.com
ce21f46014 window.open lives.
git-svn-id: svn://10.0.0.236/trunk@28339 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:35:11 +00:00
hyatt%netscape.com
77e6145552 Added a method to webshell so that a root container can find out when
new webshells are added to its hierarchy.


git-svn-id: svn://10.0.0.236/trunk@28203 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:50:03 +00:00
hyatt%netscape.com
f67a03d948 Changes to enable an asynchronous creation of a webshell in response to a
window.open call.


git-svn-id: svn://10.0.0.236/trunk@28076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:08:44 +00:00
hyatt%netscape.com
6f332240b4 Added support for chrome vs. content in the webshell. Altered some methods
so that they know how to go across the chrome vs. content boundary.


git-svn-id: svn://10.0.0.236/trunk@27835 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:15:04 +00:00
michaelp%netscape.com
8e8857351f added zooming front end.
git-svn-id: svn://10.0.0.236/trunk@27819 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:25:17 +00:00
waterson%netscape.com
78230e652c Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
git-svn-id: svn://10.0.0.236/trunk@27474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:06:22 +00:00
waterson%netscape.com
e0d8a2661a nsISupportsArray::RemoveElement() returns an nsresult, not a PRBool.
git-svn-id: svn://10.0.0.236/trunk@27469 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 20:42:48 +00:00
radha%netscape.com
3b826070cf Fix for bug 4668. Make sure that all children documents have finished loading
before calling OnEndDocumentLoading.


git-svn-id: svn://10.0.0.236/trunk@27251 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:19:48 +00:00