154 Commits

Author SHA1 Message Date
rpotts%netscape.com
dee75ea3d4 bug #14457. Getting the webcrawler working again for QA...
git-svn-id: svn://10.0.0.236/trunk@48873 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 22:58:29 +00:00
scc%netscape.com
44271bfece take action to prevent re-entering the destructor
git-svn-id: svn://10.0.0.236/trunk@48618 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:10:22 +00:00
mscott%netscape.com
da897a8da1 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.


git-svn-id: svn://10.0.0.236/trunk@48513 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 05:36:49 +00:00
bienvenu%netscape.com
fb5c7bf14e fix listener leak r+a=mscott,valeski
git-svn-id: svn://10.0.0.236/trunk@48395 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:10:46 +00:00
warren%netscape.com
3d8d35d25f Fixed warnings.
git-svn-id: svn://10.0.0.236/trunk@48377 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:57:21 +00:00
rpotts%netscape.com
f70564c16b DocLoader cleanup... Also trying to get the notifications correct :-)
git-svn-id: svn://10.0.0.236/trunk@47953 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:56:03 +00:00
vidur%netscape.com
dabd4470bb Document referrer propagation through webshell and docloader.
git-svn-id: svn://10.0.0.236/trunk@47912 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:26:02 +00:00
warren%netscape.com
556cf8505e Factored file transport service out of file: protocol.
git-svn-id: svn://10.0.0.236/trunk@47704 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:22 +00:00
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