169 Commits

Author SHA1 Message Date
rpotts%netscape.com
b286c0c010 Removed dead code inside of #if 0 blocks...
git-svn-id: svn://10.0.0.236/trunk@50026 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 21:43:21 +00:00
warren%netscape.com
30cf63de80 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski)
git-svn-id: svn://10.0.0.236/trunk@49968 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:26:01 +00:00
kipp%netscape.com
bdf07b5f16 Work around a flaw in the doc-loader not handling a RemoveObserver call during an observer notification
git-svn-id: svn://10.0.0.236/trunk@49901 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:57:20 +00:00
rpotts%netscape.com
fa598b6cae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer.
git-svn-id: svn://10.0.0.236/trunk@49795 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:04:16 +00:00
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
mccabe%netscape.com
69a8cf7c7b 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.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +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
30bf2a8793 changed nsCOMTypeInfo<> template to NS_GET_IID macro
git-svn-id: svn://10.0.0.236/trunk@45978 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:51:14 +00:00
kipp%netscape.com
4b348cc604 Use nsAutoString instead of nsString for temps
git-svn-id: svn://10.0.0.236/trunk@45699 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:13:07 +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
afea99f4a0 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.


git-svn-id: svn://10.0.0.236/trunk@44096 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:52:07 +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
valeski%netscape.com
a01b026133 factored repeated mime type retrieval implementations into mime mapping service methods
git-svn-id: svn://10.0.0.236/trunk@41758 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:42:25 +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
warren%netscape.com
57e8993efd Fixed UMR / refcounting problem (purify).
git-svn-id: svn://10.0.0.236/trunk@41417 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:02:07 +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
valeski%netscape.com
6764e14d62 changed mime map service to use nsHashtabel
git-svn-id: svn://10.0.0.236/trunk@39764 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 21:56:54 +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
valeski%netscape.com
65cbf0d137 adding warning comment
git-svn-id: svn://10.0.0.236/trunk@39216 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 23:39:31 +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