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

2919 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com 8bd067892e Removed dead code inside of #if 0 blocks... 1999-10-06 21:43:21 +00:00
warren%netscape.com 8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
kipp%netscape.com dd815430d4 Work around a flaw in the doc-loader not handling a RemoveObserver call during an observer notification 1999-10-05 23:57:20 +00:00
rpotts%netscape.com 89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
rpotts%netscape.com e0096d3c31 bug #14457. Getting the webcrawler working again for QA... 1999-09-22 22:58:29 +00:00
scc%netscape.com a1ff4d8cc5 take action to prevent re-entering the destructor 1999-09-21 21:10:22 +00:00
mscott%netscape.com 9f4482f2c5 The doc loader should release the underlying channel once the channel issues a OnStopRequest. This allows the
channel to go away after we load the url instead of making it stick around until the next url comes in (that's
when we used to get rid of the previous channel).
r=rpotts.
1999-09-21 05:36:49 +00:00
bienvenu%netscape.com 9f48620357 fix listener leak r+a=mscott,valeski 1999-09-20 21:10:46 +00:00
warren%netscape.com bde1055a86 Fixed warnings. 1999-09-20 20:57:21 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rpotts%netscape.com eae00c990c DocLoader cleanup... Also trying to get the notifications correct :-) 1999-09-17 07:56:03 +00:00
vidur%netscape.com 21477c4cd3 Document referrer propagation through webshell and docloader. 1999-09-17 04:26:02 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
vidur%netscape.com 56c104a8a3 Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process. 1999-09-09 23:53:55 +00:00
mscott%netscape.com f5609d9205 LoadDocument and LoadSubDocument now take an nsIURI instead of a unicode string. This is part of a webshell optimization
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 03:58:57 +00:00
mscott%netscape.com 0cc0bf5862 If the to content type is message/rfc822 then we need to call into the stream converter service to find an appropriate
converter.
1999-09-05 19:54:28 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
kipp%netscape.com 78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
valeski%netscape.com 02f3298de1 added a context param to the stream converter service 1999-09-02 02:18:28 +00:00
beard%netscape.com 4dbb793c3e fixed a memory leak (was leaking the strdup("?"), landed stream converter stuff on Mac. 1999-09-01 21:50:32 +00:00
danm%netscape.com 51ba321184 removing groady hack from rev 3.140, unnecessary since yesterday's changes in security (caps) 1999-09-01 20:26:04 +00:00
danm%netscape.com 6d1e456319 temporary groady hack to fix breakage in NS_OpenURI 1999-08-31 06:49:26 +00:00
rickg%netscape.com f06b290a9b enlarged the buffer size used for logging 1999-08-30 05:54:37 +00:00
valeski%netscape.com 53c1a87a7b added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell 1999-08-29 14:31:08 +00:00
sspitzer%netscape.com d60eff6c76 fix warning 1999-08-28 17:32:51 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com 17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
nisheeth%netscape.com 10dd3815f7 Fix for bug 7401. We now print out error messages for failed url loads. 1999-08-06 21:54:25 +00:00
rpotts%netscape.com 7b95979c70 Removed an *extra* release of the PostData stream... This was causing random crashes... 1999-08-06 21:38:09 +00:00
valeski%netscape.com 0efb259cfa api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
gagan%netscape.com 265933872a POST requests for HTTP work now! Go file bugs using apprunner now... 1999-08-04 15:06:51 +00:00
mcafee%netscape.com 6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
valeski%netscape.com 99a28ebe09 factored repeated mime type retrieval implementations into mime mapping service methods 1999-08-01 16:42:25 +00:00
warren%netscape.com ec70a82de6 Reverted yesterday's change to solve the timing/perf measurement problem. Now I think the main problem was caused by the fact that redirects weren't getting inserted into the group, causing the load to terminate prematurely. That's now solved in the http protocol code. 1999-07-31 06:33:50 +00:00
warren%netscape.com abb94bdcc3 Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load. 1999-07-30 07:50:35 +00:00
warren%netscape.com 4863d69146 Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure. 1999-07-30 04:20:34 +00:00
warren%netscape.com 7b13572242 Fixed UMR / refcounting problem (purify). 1999-07-28 04:02:07 +00:00
valeski%netscape.com 1d79ac4dce necko - had to turn off www.*.com trick until we can identify dns failures 1999-07-21 16:41:07 +00:00
valeski%netscape.com 951e14a6a2 necko www.*.com trick 1999-07-21 14:54:45 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
beard%netscape.com 06085c800b added <iostream.h> 1999-07-17 01:58:38 +00:00
sspitzer%netscape.com fb5fa96ffe warren blew away my DEBUG_pnunn changes. Adding it back. 1999-07-17 01:51:27 +00:00
valeski%netscape.com 998b3f60b0 changed mime map service to use nsHashtabel 1999-07-16 21:56:54 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
sspitzer%netscape.com 5274d6abfd wrap with DEBUG_pnunn. pnunn owns bug #8244. the rest of us don't need to see this message a billion times a day. 1999-07-13 23:57:47 +00:00
valeski%netscape.com e234ad9dc3 adding warning comment 1999-07-13 23:39:31 +00:00
sspitzer%netscape.com 618a7fe6fd only spit out this on debug builds. 1999-07-13 19:06:22 +00:00
warren%netscape.com 8b0ad2bf4f Added outer param to NewLoadGroup. 1999-07-10 11:27:05 +00:00
warren%netscape.com 61c8d73b43 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
gagan%netscape.com e4753fe28c Fixed warnings on Linux because of missing virtual keyword on destructors. 1999-07-08 00:50:02 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
valeski%netscape.com 055d28e710 added newlines 1999-07-06 14:37:24 +00:00
warren%netscape.com 2658da38eb Fixed GetContentType error handling for necko. 1999-07-03 05:49:12 +00:00
valeski%netscape.com ad4fca8f6b adding mime type resolver module. 1999-07-02 20:08:27 +00:00
warren%netscape.com bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
troy%netscape.com c5f7e7620a Removed some assignment of nsnull to nsCOMPtr obejects that was hitting
an assert
1999-06-30 04:13:21 +00:00
valeski%netscape.com fe1091d59e yanked the hardcoded content type 1999-06-29 23:25:17 +00:00
valeski%netscape.com a084c15083 NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load. 1999-06-29 21:48:35 +00:00
valeski%netscape.com 88c956f284 removing extraneous nsIEventQueue stuff 1999-06-29 01:55:35 +00:00
warren%netscape.com ef2fbe9982 Necko cleanup. 1999-06-29 00:37:14 +00:00
valeski%netscape.com 271e13a054 optimized build fix. 1999-06-28 22:50:14 +00:00
mscott%netscape.com 25a6e7c788 necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:43:28 +00:00
valeski%netscape.com 8ae9204dff necko builds 1999-06-28 14:02:28 +00:00
warren%netscape.com fbc735f510 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
warren%netscape.com 32d4f24430 Changed URLGroup to LoadGroup 1999-06-25 02:31:51 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
valeski%netscape.com e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
radha%netscape.com 98944587c2 OnEndDocumentLoad now has a handle to the observer 1999-06-14 22:12:19 +00:00
nisheeth%netscape.com 9130f4f6ec Fix for bug 7401. Made error message more descriptive. 1999-06-11 23:13:03 +00:00
nisheeth%netscape.com 7fd869b536 Fix for bug 7401. Output an error message to the console when a URL load fails. 1999-06-11 23:07:09 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
kipp%netscape.com be3e9a495b Ripped out the old doc-loader hackery and use the component manager to find viewers instead 1999-05-06 19:31:59 +00:00
nisheeth%netscape.com 4610242a5c 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. 1999-05-06 06:52:05 +00:00
nisheeth%netscape.com 9030c63eb2 - Implemented GetContentViewerContainer() in the nsDocLoaderImpl() object.
- Added charset parameters to LoadDocument(), a method defined in nsIWebShellServices
1999-05-06 03:54:40 +00:00
nisheeth%netscape.com e2125bb76b - adding stubs for the methods in nsIWebShellServices implemented by the nsWebShell object.
- adding a stub implementation of the GetContentViewerContainer() method to nsDocLoaderImpl.
1999-05-06 01:58:48 +00:00
pinkerton%netscape.com 1680448437 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
kipp%netscape.com 8b7fadc265 Cleaned up log messages; fixed doc loader to fire the OnEndDocumentLoad properly 1999-04-30 00:10:27 +00:00
nisheeth%netscape.com 696fa5472d Passing in nsIDocumentLoader as a parameter to all functions in nsIDocumentLoaderObserver... 1999-04-28 06:47:40 +00:00
nisheeth%netscape.com 251fa6ad71 - 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.
1999-04-28 04:57:06 +00:00
nisheeth%netscape.com d7d9f5662b Shortened filename to nsIExternalDocLoadObs.h to work around Mac build bustage. Filenames longer than 31 characters are a bad thing on the Mac. 1999-04-26 14:54:03 +00:00
nisheeth%netscape.com 753ecd2306 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. 1999-04-26 10:51:52 +00:00
scc%netscape.com 9991958e76 s/false/0/ in my do-while 1999-04-23 19:03:01 +00:00
akkana%netscape.com 37f729f1dc Fix for scc to work around an apparent egcs bug 1999-04-23 17:38:13 +00:00
scc%netscape.com d828879f09 Added the ability to construct a XUL document from a stream 1999-04-23 16:48:30 +00:00
waterson%netscape.com cb7e7a95c4 Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to. 1999-04-14 23:06:22 +00:00
waterson%netscape.com 0a0b15da60 nsISupportsArray::RemoveElement() returns an nsresult, not a PRBool. 1999-04-14 20:42:48 +00:00
radha%netscape.com 58c1fd0c96 Fix for bug 4668. Make sure that all children documents have finished loading
before calling OnEndDocumentLoading.
1999-04-13 00:19:48 +00:00
law%netscape.com 8fd0a4e421 File download; approved by chofmann 1999-04-08 04:21:15 +00:00
radha%netscape.com e86caa3802 Remove few debug printfs 1999-04-06 21:25:06 +00:00
radha%netscape.com 711080a640 Webshell implements the new nsIDocumentLoaderObserver interface 1999-04-06 21:01:04 +00:00
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
kipp%netscape.com 2b7ceeff3b Use traceable ctor design pattern 1998-09-15 00:17:53 +00:00
kipp%netscape.com 1387803d92 Use NS_ADDREF macros to enable refcnt tracing 1998-09-12 19:30:49 +00:00
kipp%netscape.com 5c00612946 Support (in a shaky way) some various and sundry mime types for plugins 1998-09-09 23:51:43 +00:00
vidur%netscape.com ed5a03320a Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory. 1998-08-20 22:28:52 +00:00
valeski%netscape.com 9c4143b645 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 0a20396f56 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 94bddddfc2 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 edb8b34146 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 1175321b05 changes for plugins. 1998-08-05 04:23:21 +00:00
pierre%netscape.com c803d6b8ea fixing Windows build bustage: moved NS_IMPL_IDS 1998-07-29 22:33:29 +00:00
pierre%netscape.com c9c3bc4193 fixing Mac build: moved NS_IMPL_IDS 1998-07-29 21:06:19 +00:00
kipp%netscape.com 9858710c0d Some hackery for image documents 1998-07-27 18:05:34 +00:00
rpotts%netscape.com 87b4f3728e Get rid of those unix warnings... 1998-07-24 21:03:33 +00:00
rpotts%netscape.com 17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
rpotts%netscape.com 84622e4d43 Removed an incorrect comment... 1998-07-24 05:33:29 +00:00
rpotts%netscape.com 01af9d76c0 Fixed uninitialized variable... 1998-07-23 04:25:20 +00:00
kipp%netscape.com 8b5de63b88 Init mStatus 1998-07-22 23:41:36 +00:00
rpotts%netscape.com 2b6fbde302 First pass at nested document loaders... 1998-07-22 11:23:32 +00:00
scullin%netscape.com a1d957f419 Propagate alerts, confirms and prompts up to browser window. 1998-07-22 00:26:23 +00:00
kipp%netscape.com dcf41358c0 Normalized factory code 1998-07-19 01:18:15 +00:00
kipp%netscape.com 5dde352cb1 Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance 1998-07-18 21:50:29 +00:00
kipp%netscape.com 3deb49c15f Init unintialized variable 1998-07-17 17:54:46 +00:00
rpotts%netscape.com 589dcc48fe 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 646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
rickg 8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +00:00
kipp e73dd51e0c Eliminate some compiler warnings 1998-07-03 23:14:21 +00:00
rpotts 377d7f35f9 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 cb8f2e082c Added nsDocLoader.cpp... 1998-07-01 11:29:20 +00:00