246 Commits

Author SHA1 Message Date
vidur%netscape.com
5a35be98ad 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.
git-svn-id: svn://10.0.0.236/trunk@46655 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 23:53:55 +00:00
mscott%netscape.com
45e6e1ccfa 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.


git-svn-id: svn://10.0.0.236/trunk@46293 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:58:57 +00:00
mscott%netscape.com
e66a20c7ed If the to content type is message/rfc822 then we need to call into the stream converter service to find an appropriate
converter.


git-svn-id: svn://10.0.0.236/trunk@46064 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 19:54:28 +00:00
valeski%netscape.com
99509c354f added a context param to the stream converter service
git-svn-id: svn://10.0.0.236/trunk@45624 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 02:18:28 +00:00
beard%netscape.com
d565f4a006 fixed a memory leak (was leaking the strdup("?"), landed stream converter stuff on Mac.
git-svn-id: svn://10.0.0.236/trunk@45532 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:50:32 +00:00
danm%netscape.com
3984f28784 removing groady hack from rev 3.140, unnecessary since yesterday's changes in security (caps)
git-svn-id: svn://10.0.0.236/trunk@45498 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:26:04 +00:00
danm%netscape.com
ff2d37be92 temporary groady hack to fix breakage in NS_OpenURI
git-svn-id: svn://10.0.0.236/trunk@45313 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:49:26 +00:00
rickg%netscape.com
f6eac68b59 enlarged the buffer size used for logging
git-svn-id: svn://10.0.0.236/trunk@45127 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 05:54:37 +00:00
valeski%netscape.com
09be5128d6 added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell
git-svn-id: svn://10.0.0.236/trunk@45046 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 14:31:08 +00:00
sspitzer%netscape.com
a65fffcefb fix warning
git-svn-id: svn://10.0.0.236/trunk@45008 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 17:32:51 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
mccabe%netscape.com
0ee0c94bc4 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.


git-svn-id: svn://10.0.0.236/trunk@44059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:26:18 +00:00
nisheeth%netscape.com
a3a4d6c57b Fix for bug 7401. We now print out error messages for failed url loads.
git-svn-id: svn://10.0.0.236/trunk@42557 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 21:54:25 +00:00
rpotts%netscape.com
c8626b2f3f Removed an *extra* release of the PostData stream... This was causing random crashes...
git-svn-id: svn://10.0.0.236/trunk@42551 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 21:38:09 +00:00
valeski%netscape.com
be8bf3fd76 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).


git-svn-id: svn://10.0.0.236/trunk@42245 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:28:30 +00:00
gagan%netscape.com
5603e70120 POST requests for HTTP work now! Go file bugs using apprunner now...
git-svn-id: svn://10.0.0.236/trunk@42135 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 15:06:51 +00:00
mcafee%netscape.com
7ff5fdfced Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
git-svn-id: svn://10.0.0.236/trunk@42013 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:51:41 +00:00
warren%netscape.com
26b85b2d2e 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.
git-svn-id: svn://10.0.0.236/trunk@41688 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 06:33:50 +00:00
warren%netscape.com
98fd24485a Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load.
git-svn-id: svn://10.0.0.236/trunk@41588 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 07:50:35 +00:00
warren%netscape.com
35f51267b9 Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure.
git-svn-id: svn://10.0.0.236/trunk@41584 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 04:20:34 +00:00
valeski%netscape.com
f9b18ea21b necko - had to turn off www.*.com trick until we can identify dns failures
git-svn-id: svn://10.0.0.236/trunk@40442 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 16:41:07 +00:00
valeski%netscape.com
c70c660f40 necko www.*.com trick
git-svn-id: svn://10.0.0.236/trunk@40441 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 14:54:45 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
beard%netscape.com
ced440e148 added <iostream.h>
git-svn-id: svn://10.0.0.236/trunk@39811 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:58:38 +00:00
sspitzer%netscape.com
281c542d0f warren blew away my DEBUG_pnunn changes. Adding it back.
git-svn-id: svn://10.0.0.236/trunk@39806 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:51:27 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
sspitzer%netscape.com
7da7f44f03 wrap with DEBUG_pnunn. pnunn owns bug #8244. the rest of us don't need to see this message a billion times a day.
git-svn-id: svn://10.0.0.236/trunk@39217 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 23:57:47 +00:00
sspitzer%netscape.com
e7ec05c483 only spit out this on debug builds.
git-svn-id: svn://10.0.0.236/trunk@39147 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 19:06:22 +00:00
warren%netscape.com
8c2df4638b Added outer param to NewLoadGroup.
git-svn-id: svn://10.0.0.236/trunk@38963 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 11:27:05 +00:00
warren%netscape.com
5c37d2ec29 Necko stuff for dealing with load groups when opening URLs.
git-svn-id: svn://10.0.0.236/trunk@38929 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 21:18:47 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
warren%netscape.com
a077b3657c Fixed GetContentType error handling for necko.
git-svn-id: svn://10.0.0.236/trunk@38251 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 05:49:12 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
troy%netscape.com
4dbeba7920 Removed some assignment of nsnull to nsCOMPtr obejects that was hitting
an assert


git-svn-id: svn://10.0.0.236/trunk@37511 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 04:13:21 +00:00
valeski%netscape.com
759ec2937d yanked the hardcoded content type
git-svn-id: svn://10.0.0.236/trunk@37492 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 23:25:17 +00:00
valeski%netscape.com
ba09080b75 NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load.
git-svn-id: svn://10.0.0.236/trunk@37478 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:48:35 +00:00
valeski%netscape.com
13ff02cbb3 removing extraneous nsIEventQueue stuff
git-svn-id: svn://10.0.0.236/trunk@37310 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 01:55:35 +00:00
warren%netscape.com
0f2bb066b3 Necko cleanup.
git-svn-id: svn://10.0.0.236/trunk@37301 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 00:37:14 +00:00
valeski%netscape.com
5172770dd8 optimized build fix.
git-svn-id: svn://10.0.0.236/trunk@37259 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 22:50:14 +00:00
mscott%netscape.com
fddcf47e13 necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@37223 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:43:28 +00:00
valeski%netscape.com
53cf0631c6 necko builds
git-svn-id: svn://10.0.0.236/trunk@37184 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 14:02:28 +00:00
warren%netscape.com
2fd605cc6f Last of the necko ifdefs. Now we link with necko.
git-svn-id: svn://10.0.0.236/trunk@37169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:35:57 +00:00
warren%netscape.com
d1a61845a5 Changed URLGroup to LoadGroup
git-svn-id: svn://10.0.0.236/trunk@36824 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 02:31:51 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d 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.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
radha%netscape.com
3c239c8b1a OnEndDocumentLoad now has a handle to the observer
git-svn-id: svn://10.0.0.236/trunk@35220 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:12:19 +00:00
nisheeth%netscape.com
742180e73b Fix for bug 7401. Made error message more descriptive.
git-svn-id: svn://10.0.0.236/trunk@34897 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:13:03 +00:00
nisheeth%netscape.com
17b8c6a58e Fix for bug 7401. Output an error message to the console when a URL load fails.
git-svn-id: svn://10.0.0.236/trunk@34892 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:07:09 +00:00
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