Commit Graph

164 Commits

Author SHA1 Message Date
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