25 Commits

Author SHA1 Message Date
vidur%netscape.com
74ab64f3f0 Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory.
git-svn-id: svn://10.0.0.236/trunk@8273 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:28:52 +00:00
valeski%netscape.com
277cec0087 webshell/public/nsIDocumentLoader.h
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.

webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.

webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.

webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.


git-svn-id: svn://10.0.0.236/trunk@8211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:01:52 +00:00
valeski%netscape.com
b4eb4f5402 webshell/public/nsIDocumentLoader.h
Removed support for the underlying timer/refreshurl infrastructure.

webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.

webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).


git-svn-id: svn://10.0.0.236/trunk@8164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:25:17 +00:00
valeski%netscape.com
51e34f63fd webshell/src/nsDocLoader.cpp -
310133 - 1. added LoadURLOnTimer() and CancelLoadURLTimer() implementations to the nsDocLoaderImpl class.
2. Changed nsDocumentBindInfo class to support the nsIRefreshUrl interface.
3. Changed the nsDocumentBindInfo contructor to set the m_ExtraInfo variable to the aExtraInfo pointer passed in. This must have been an oversight on the part of the original implementor.
4. Added a simple data placeholder class to hold the data that will be used to load the url on the timer.

webshell/src/nsWebShell.cpp -
1. 310133 - When the webshell is destructed or about to load a new url, the loader now calls CancelLoadURLTimer() which cancels and releases the timers.


git-svn-id: svn://10.0.0.236/trunk@7954 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:08:19 +00:00
joki%netscape.com
9106b337ee Adding partial load event support, removing script context Run_GC method adding partial script error support
git-svn-id: svn://10.0.0.236/trunk@7810 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:56:40 +00:00
michaelp%netscape.com
f6f0263fa5 changes for plugins.
git-svn-id: svn://10.0.0.236/trunk@7328 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:23:21 +00:00
pierre%netscape.com
c6d7eb9a7a fixing Windows build bustage: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:33:29 +00:00
pierre%netscape.com
34090236fe fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6768 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:06:19 +00:00
kipp%netscape.com
9d6b2116f7 Some hackery for image documents
git-svn-id: svn://10.0.0.236/trunk@6540 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:34 +00:00
rpotts%netscape.com
1d8ecc8b94 Get rid of those unix warnings...
git-svn-id: svn://10.0.0.236/trunk@6415 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:03:33 +00:00
rpotts%netscape.com
b174cb490f Added IStreamListener::OnStatus(...)...
git-svn-id: svn://10.0.0.236/trunk@6389 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 10:02:50 +00:00
rpotts%netscape.com
dcf0540afc Removed an incorrect comment...
git-svn-id: svn://10.0.0.236/trunk@6379 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:33:29 +00:00
rpotts%netscape.com
181523663d Fixed uninitialized variable...
git-svn-id: svn://10.0.0.236/trunk@6230 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:25:20 +00:00
kipp%netscape.com
677f8123bb Init mStatus
git-svn-id: svn://10.0.0.236/trunk@6209 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:41:36 +00:00
rpotts%netscape.com
15b08d846d First pass at nested document loaders...
git-svn-id: svn://10.0.0.236/trunk@6166 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:23:32 +00:00
scullin%netscape.com
5c0ed389df Propagate alerts, confirms and prompts up to browser window.
git-svn-id: svn://10.0.0.236/trunk@6128 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:26:23 +00:00
kipp%netscape.com
c4f7797c4b Normalized factory code
git-svn-id: svn://10.0.0.236/trunk@5918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:15 +00:00
kipp%netscape.com
63f46c6f39 Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance
git-svn-id: svn://10.0.0.236/trunk@5905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:50:29 +00:00
kipp%netscape.com
37c51a47ec Init unintialized variable
git-svn-id: svn://10.0.0.236/trunk@5823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:54:46 +00:00
rpotts%netscape.com
40c0155b10 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...
git-svn-id: svn://10.0.0.236/trunk@5806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:32:39 +00:00
rpotts%netscape.com
ced3fe0f75 Added nsIURL argument to the nsIStreamListener interface
git-svn-id: svn://10.0.0.236/trunk@5656 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:38:01 +00:00
rickg
837fc0806e dynamic DTD support
git-svn-id: svn://10.0.0.236/trunk@5278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:35:23 +00:00
kipp
09ade9fd5b Eliminate some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@5030 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:14:21 +00:00
rpotts
d81b006e8f Added error checking to the document creation. IF a document cannot be found, the network load will fail and the old document will not be deleted...
git-svn-id: svn://10.0.0.236/trunk@4990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 06:16:02 +00:00
rpotts
d6ef25d76d Added nsDocLoader.cpp...
git-svn-id: svn://10.0.0.236/trunk@4801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:29:20 +00:00