98 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
law%netscape.com
f8ccb27904 File download; approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@26796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:21:15 +00:00
radha%netscape.com
e8d434ef55 Remove few debug printfs
git-svn-id: svn://10.0.0.236/trunk@26539 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:25:06 +00:00
radha%netscape.com
449591e339 Webshell implements the new nsIDocumentLoaderObserver interface
git-svn-id: svn://10.0.0.236/trunk@26529 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:01:04 +00:00
sspitzer%netscape.com
e7b205c3f1 use nsString instead of of nsAutoString, since that is what the function takes
git-svn-id: svn://10.0.0.236/trunk@25710 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:08:53 +00:00
sspitzer%netscape.com
7d8bed2985 fix build breakage on Linux
the build breakage only happens if you build with -pedantic


git-svn-id: svn://10.0.0.236/trunk@25460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:04:04 +00:00
rpotts%netscape.com
1a51c28082 Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell...
git-svn-id: svn://10.0.0.236/trunk@25448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 09:21:01 +00:00
hyatt%netscape.com
2e291cefc4 Enhanced the document loader to handle subdocuments.
git-svn-id: svn://10.0.0.236/trunk@23889 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:20:29 +00:00
amusil%netscape.com
f6cd375f7c Added some mimetypes. Fixed bugs.
git-svn-id: svn://10.0.0.236/trunk@23782 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:49:51 +00:00
ramiro%netscape.com
f05974cb48 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.


git-svn-id: svn://10.0.0.236/trunk@23339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:19:02 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
ramiro%netscape.com
240e66fab6 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.


git-svn-id: svn://10.0.0.236/trunk@23165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 09:44:16 +00:00
rickg%netscape.com
334907990d allow plain text file to be handled by HTML document
git-svn-id: svn://10.0.0.236/trunk@20771 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 07:37:53 +00:00
waterson%netscape.com
80bf7397a5 Got rid of #include's, too.
git-svn-id: svn://10.0.0.236/trunk@20733 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 19:56:47 +00:00
waterson%netscape.com
6d9e8212a0 Got rid of nsIRDFDocument: we never use it here anyway.
git-svn-id: svn://10.0.0.236/trunk@20732 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 19:53:55 +00:00
kipp%netscape.com
d7a75e4fba Removed some warnings
git-svn-id: svn://10.0.0.236/trunk@20559 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:14:26 +00:00
waterson%netscape.com
0893400c85 RDFDocument is now XULDocument.
git-svn-id: svn://10.0.0.236/trunk@20080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:16:17 +00:00
hyatt%netscape.com
7713fd6b6f Implementing the XUL content sink. Teaching the document loader that it
can instantiate files of type "text/xul" using RDF.


git-svn-id: svn://10.0.0.236/trunk@19392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:43:32 +00:00
waterson%netscape.com
ec955224ea Content model builder CID now specified by XML processing instruction.
git-svn-id: svn://10.0.0.236/trunk@19207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:30:42 +00:00
rpotts%netscape.com
a3efbe88da 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...
git-svn-id: svn://10.0.0.236/trunk@18030 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 22:48:05 +00:00
rpotts%netscape.com
64515206b5 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.
git-svn-id: svn://10.0.0.236/trunk@17935 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 11:48:58 +00:00
pierre%netscape.com
450d620463 no longer ignores the returned value from m_Observer->OnStartBinding(). This allows embedding apps (eg. Intuit) to intercept and filter URLs.
git-svn-id: svn://10.0.0.236/trunk@17879 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:34:46 +00:00
rpotts%netscape.com
401a0c93d9 Added some more debug trace messages...
git-svn-id: svn://10.0.0.236/trunk@17846 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 10:10:46 +00:00
rpotts%netscape.com
9251d0c8b0 Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver...
git-svn-id: svn://10.0.0.236/trunk@17714 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:44:23 +00:00
waterson%netscape.com
c637ea386a Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources.
git-svn-id: svn://10.0.0.236/trunk@17595 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:41:06 +00:00
rpotts%netscape.com
6a46e826d5 Fixed the firing of the OnConnectionsComplete(...) notification so it worked correctly in framesets...
git-svn-id: svn://10.0.0.236/trunk@16926 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:45:00 +00:00
ramiro%netscape.com
6e143bcac4 Change #include "nsIHttpUrl.h" to #include "nsIHttpURL.h" for case sensitive
anality.


git-svn-id: svn://10.0.0.236/trunk@16517 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 10:27:49 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
waterson%netscape.com
cb39a2dc4c Changed RDF document CID.
git-svn-id: svn://10.0.0.236/trunk@15770 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:01:42 +00:00
waterson%netscape.com
d689488fcf Added factory method for RDF documents.
git-svn-id: svn://10.0.0.236/trunk@15566 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:27 +00:00
kipp%netscape.com
d9b72da670 Removed duplicate init
git-svn-id: svn://10.0.0.236/trunk@15361 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:08 +00:00
peterl%netscape.com
383116acf6 style change notification support
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +00:00
kipp%netscape.com
9292a738ca Added some debug noise (disabled by default) for document creation
git-svn-id: svn://10.0.0.236/trunk@15164 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:18:08 +00:00
rpotts%netscape.com
e020eaf4ef Return NS_BINDING_FAILED if nw stream was created...
git-svn-id: svn://10.0.0.236/trunk@15128 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:28:44 +00:00