Commit Graph
46 Commits
Author SHA1 Message Date
vidur@netscape.com 7d1ef538b5 Added XML display support. Creation of XML document for text/xml and application/xml 1998-11-11 22:07:03 +00:00
rickg@netscape.com 22a58b61b5 first pass support for view-source 1998-11-11 11:55:32 +00:00
rpotts@netscape.com 68a73ee5c8 do not allow the stream listener to be freed during a call to OnDataAvailable... It is possible, that OnStopBinding() wil lbe called while the listener is processing the data (ie. the URL load is interrupted). If this happens, do not free the listener until the OnDataAvailable() call has finished... 1998-11-10 07:06:02 +00:00
rpotts@netscape.com cfb5aa49cd fix bug #1112. Free the next stream listener as soon as OnStopBinding(...) is called... 1998-11-05 05:39:16 +00:00
rpotts@netscape.com 89929143ce Added a skidmark when a content viewer cannot be found for a given content-type... 1998-11-04 08:49:05 +00:00
rpotts@netscape.com 43b66bef58 Removed the implementation of the nsIDocumentLoadInfo interface. This is an obsolete interface. 1998-11-03 10:09:42 +00:00
rpotts@netscape.com 95e935984a Removed the implementation of nsINetSupport... 1998-11-03 08:02:33 +00:00
rpotts@netscape.com 23576951f0 Release the stream observer when stopping a document load. This will break the circular reference between the webshell and the docloader... 1998-10-30 07:10:10 +00:00
rpotts@netscape.com 9267d469a4 Call nsINetService::InterruptStream() when stopping a URL... 1998-10-16 22:30:57 +00:00
rpotts@netscape.com b750c6fe36 Only fire the OnConnectionsComplete(...) notification once per document... 1998-10-10 05:54:58 +00:00
rpotts@netscape.com 4c94f6f540 Removed assert that was not threadsafe... 1998-10-10 05:00:17 +00:00
rpotts@netscape.com 07be233b75 Added support for the loading of background URLs... 1998-10-10 04:33:29 +00:00
rpotts@netscape.com e572c36be3 Wired up notifications of URLs loaded via OpenStream out to the StreamObserver... 1998-10-09 05:49:34 +00:00
rpotts@netscape.com bf478ce8e6 The document loader now supports nsIURLGroup interface. 1998-10-01 21:48:12 +00:00
michaelp@netscape.com ca01c338a3 changes for new nsiplugininstanceowner. 1998-09-27 22:46:41 +00:00
vidur@netscape.com f7f5547e37 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry. 1998-09-17 01:53:52 +00:00
valeski@netscape.com 8794752dd8 ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
valeski@netscape.com c49b8e6ab0 M webshell/public/nsIDocumentLoader.h
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.


M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.


M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).

2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.


M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.


M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.
1998-09-16 00:40:20 +00:00
kipp@netscape.com 221eff222a Use traceable ctor design pattern 1998-09-15 00:17:53 +00:00
kipp@netscape.com 5119a6d135 Use NS_ADDREF macros to enable refcnt tracing 1998-09-12 19:30:49 +00:00
kipp@netscape.com ab6bbd675d Support (in a shaky way) some various and sundry mime types for plugins 1998-09-09 23:51:43 +00:00
vidur@netscape.com 2820aac07d Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory. 1998-08-20 22:28:52 +00:00
valeski@netscape.com 0572a6f8df 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.
1998-08-19 23:01:52 +00:00
valeski@netscape.com 84bad635c1 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).
1998-08-18 23:25:17 +00:00
valeski@netscape.com a339cacd4f 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.
1998-08-13 20:08:19 +00:00
joki@netscape.com 4844c8d6dd Adding partial load event support, removing script context Run_GC method adding partial script error support 1998-08-12 04:56:40 +00:00
michaelp@netscape.com 49b21989d2 changes for plugins. 1998-08-05 04:23:21 +00:00
pierre@netscape.com 918e755048 fixing Windows build bustage: moved NS_IMPL_IDS 1998-07-29 22:33:29 +00:00
pierre@netscape.com bf84729763 fixing Mac build: moved NS_IMPL_IDS 1998-07-29 21:06:19 +00:00
kipp@netscape.com c9ab95dbfc Some hackery for image documents 1998-07-27 18:05:34 +00:00
rpotts@netscape.com 3c63bfe793 Get rid of those unix warnings... 1998-07-24 21:03:33 +00:00
rpotts@netscape.com 7367aad321 Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
rpotts@netscape.com 6e8e1fe96b Removed an incorrect comment... 1998-07-24 05:33:29 +00:00
rpotts@netscape.com 94c3b143ca Fixed uninitialized variable... 1998-07-23 04:25:20 +00:00
kipp@netscape.com 62a12b9970 Init mStatus 1998-07-22 23:41:36 +00:00
rpotts@netscape.com 2c208169ef First pass at nested document loaders... 1998-07-22 11:23:32 +00:00
scullin@netscape.com ce5fcdc733 Propagate alerts, confirms and prompts up to browser window. 1998-07-22 00:26:23 +00:00
kipp@netscape.com 084757e183 Normalized factory code 1998-07-19 01:18:15 +00:00
kipp@netscape.com d06de891dc Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance 1998-07-18 21:50:29 +00:00
kipp@netscape.com d4f4335321 Init unintialized variable 1998-07-17 17:54:46 +00:00
rpotts@netscape.com faa9ed5696 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
rpotts@netscape.com 6adb05afe2 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
rickg 241a248569 dynamic DTD support 1998-07-10 05:35:23 +00:00
kipp 180dcf65da Eliminate some compiler warnings 1998-07-03 23:14:21 +00:00
rpotts b9b5c9944f 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... 1998-07-03 06:16:02 +00:00
rpotts 551139bc50 Added nsDocLoader.cpp... 1998-07-01 11:29:20 +00:00