Граф коммитов

78 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 355c7fad39 use nsString instead of of nsAutoString, since that is what the function takes 1999-03-31 19:08:53 +00:00
sspitzer%netscape.com 2bc3c0e46a fix build breakage on Linux
the build breakage only happens if you build with -pedantic
1999-03-29 22:04:04 +00:00
rpotts%netscape.com 8eb73e4fce Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell... 1999-03-29 09:21:01 +00:00
hyatt%netscape.com 9cf9918ee2 Enhanced the document loader to handle subdocuments. 1999-03-12 05:20:29 +00:00
amusil%netscape.com cabca15143 Added some mimetypes. Fixed bugs. 1999-03-11 22:49:51 +00:00
ramiro%netscape.com eb2ce0674f Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
ramiro%netscape.com 8a849f863a Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +00:00
rickg%netscape.com de5fffb57b allow plain text file to be handled by HTML document 1999-02-16 07:37:53 +00:00
waterson%netscape.com 085a8b47ad Got rid of #include's, too. 1999-02-15 19:56:47 +00:00
waterson%netscape.com 4aa3bc8de1 Got rid of nsIRDFDocument: we never use it here anyway. 1999-02-15 19:53:55 +00:00
kipp%netscape.com 3a1d86932f Removed some warnings 1999-02-12 17:14:26 +00:00
waterson%netscape.com 12a702f4a8 RDFDocument is now XULDocument. 1999-02-09 03:16:17 +00:00
hyatt%netscape.com e4778d0f18 Implementing the XUL content sink. Teaching the document loader that it
can instantiate files of type "text/xul" using RDF.
1999-02-03 02:43:32 +00:00
waterson%netscape.com 08d1869b50 Content model builder CID now specified by XML processing instruction. 1999-02-01 22:30:42 +00:00
rpotts%netscape.com 5a21fff729 fixed bug when firing the OnConnectionsComplete() notification. If one of the listeners initiated a new URL load then state in the doc loader became inconsistent... 1999-01-19 22:48:05 +00:00
rpotts%netscape.com 7dd5ee5f53 The DocumentLoader is now a global service. Rather than creating document loaders via the factory, they are now created as child loaders of the global DocumentLoader service which is accessable via GetService. 1999-01-17 11:48:58 +00:00
pierre%netscape.com 6b3fe446e8 no longer ignores the returned value from m_Observer->OnStartBinding(). This allows embedding apps (eg. Intuit) to intercept and filter URLs. 1999-01-15 22:34:46 +00:00
rpotts%netscape.com ffc406e017 Added some more debug trace messages... 1999-01-15 10:10:46 +00:00
rpotts%netscape.com c62636aecb Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver... 1999-01-14 06:44:23 +00:00
waterson%netscape.com d1081a74f9 Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources. 1999-01-12 19:41:06 +00:00
rpotts%netscape.com 9b9408cc44 Fixed the firing of the OnConnectionsComplete(...) notification so it worked correctly in framesets... 1998-12-29 04:45:00 +00:00
ramiro%netscape.com a885776445 Change #include "nsIHttpUrl.h" to #include "nsIHttpURL.h" for case sensitive
anality.
1998-12-16 10:27:49 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
waterson%netscape.com 0233a245ca Changed RDF document CID. 1998-12-04 10:01:42 +00:00
waterson%netscape.com 62a440cd1b Added factory method for RDF documents. 1998-12-02 00:28:27 +00:00
kipp%netscape.com a75d2cff3c Removed duplicate init 1998-11-26 18:06:08 +00:00
peterl%netscape.com e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
kipp%netscape.com c10779fd3a Added some debug noise (disabled by default) for document creation 1998-11-23 17:18:08 +00:00
rpotts%netscape.com 0d0e64a4ad Return NS_BINDING_FAILED if nw stream was created... 1998-11-22 09:28:44 +00:00
pnunn%netscape.com f57a8ac72d png is an interal format... -pnunn 1998-11-20 23:33:46 +00:00
rickg%netscape.com 2f234d74a2 allow view-source on XML 1998-11-13 04:36:46 +00:00
vidur%netscape.com 2ecd262ffe 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 c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
rpotts%netscape.com aebd3bda2a 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 4c7b5f52a5 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 b7b0e8a47f 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 d791267127 Removed the implementation of the nsIDocumentLoadInfo interface. This is an obsolete interface. 1998-11-03 10:09:42 +00:00
rpotts%netscape.com 715c11690a Removed the implementation of nsINetSupport... 1998-11-03 08:02:33 +00:00
rpotts%netscape.com a63c71ca52 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 c594ed5fe7 Call nsINetService::InterruptStream() when stopping a URL... 1998-10-16 22:30:57 +00:00
rpotts%netscape.com c5bd83361e Only fire the OnConnectionsComplete(...) notification once per document... 1998-10-10 05:54:58 +00:00
rpotts%netscape.com 36c40aaad7 Removed assert that was not threadsafe... 1998-10-10 05:00:17 +00:00
rpotts%netscape.com 88a00fc77e Added support for the loading of background URLs... 1998-10-10 04:33:29 +00:00
rpotts%netscape.com 4077575285 Wired up notifications of URLs loaded via OpenStream out to the StreamObserver... 1998-10-09 05:49:34 +00:00
rpotts%netscape.com ede9c6a479 The document loader now supports nsIURLGroup interface. 1998-10-01 21:48:12 +00:00
michaelp%netscape.com 9c75a12568 changes for new nsiplugininstanceowner. 1998-09-27 22:46:41 +00:00
vidur%netscape.com 4e3024a5f9 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 bab22077b8 ? 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 de3f9dfd38 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