Commit Graph
240 Commits
Author SHA1 Message Date
warren@netscape.com 12908d1006 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
warren@netscape.com b20a469eff Added assertion for bug I was hitting (spinning). 1999-07-27 08:47:43 +00:00
warren@netscape.com 22cf717633 Added missing error check. 1999-07-27 08:47:13 +00:00
gordon@netscape.com 8dacbb121c Find proper resource directory for Mac, rather than /usr/local/netscape/bin. 1999-07-27 01:11:03 +00:00
beard@netscape.com 31367ac5bd Makes resource URLs work, by special-casing "/usr/local/netscape/bin" on the Mac. This should probably be moved elsewhere, but works for now. 1999-07-25 18:39:41 +00:00
valeski@netscape.com 62bba29ddd necko - we now set the user agent by default 1999-07-25 13:54:47 +00:00
warren@netscape.com cbe76bef59 Removed about:blank joke. 1999-07-23 20:11:02 +00:00
mscott@netscape.com 92a9350657 necko only:
Added the "hack" which can be turned off by undefining STREAM_CONVERTER_HACK. Basically, if we are reading in an rfc822
file we insert a stream converter between the file channel and the consumer of the file channel. the file channel
then talks to the converter which talks to the end consumer.

Made the file channel honor the number of bytes read parameter which gets passed in on AsyncRead. We now cancel the read
after we've read in the desired # of bytes.

fixed two file parsing bugs: one in Init and one in GetContenttype
1999-07-23 06:16:37 +00:00
gordon@netscape.com 33cc45ad90 Added nsHTTPEncodeStream.cpp. 1999-07-23 01:03:15 +00:00
gordon@netscape.com 6612f16386 Added nsIHTTPProtocolHandler.idl. 1999-07-23 00:56:23 +00:00
gagan@netscape.com 3c1e584ac2 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
tbogard@aol.net 9f9115de38 Fixing Necko build bustage. 1999-07-22 03:33:49 +00:00
tbogard@aol.net f95ec49b0b Looks like I missed a header for the nsCStringKey -> nsStringKey change. 1999-07-22 02:47:39 +00:00
gagan@netscape.com 61e8109861 Replaced resource:// with resource:/ to be more compliant with our parsing rules. 1999-07-21 11:48:56 +00:00
warren@netscape.com dd6c275c62 Added encode flags. 1999-07-21 07:05:12 +00:00
warren@netscape.com 66b0433678 Working on NS_NewPostDataStream -- doesn't work yet though. 1999-07-21 05:53:25 +00:00
mscott@netscape.com a9a4e85412 we were always returning text/html as the content type for any page using the http channel!!!! this was preventing us from
properly loading rdf files from the web (particularly the tinderbox page for the flash panel). Only use the default
dummy type if we weren't able to extract a legitimate content type from the header.
1999-07-20 22:44:24 +00:00
valeski@netscape.com 14ce98dabd using more appropriate notification progids 1999-07-20 20:44:02 +00:00
mscott@netscape.com 468a884d1e Necko only!!! Fix build breakage for clobber builds by removing reference to nsIHTTPHandler.h
which is no longer being exported.
1999-07-20 18:46:34 +00:00
warren@netscape.com ccfdb6afee Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren@netscape.com 5b17140ac0 Started adding encode stream for necko posting. 1999-07-20 08:45:41 +00:00
warren@netscape.com e2d413a6d2 Added BeOS fix. 1999-07-19 18:42:44 +00:00
rickg@netscape.com 1f4b1d5e46 switch to faster string search API 1999-07-19 03:29:56 +00:00
mcafee@netscape.com dad368916e Removing unnecessary includes of xp_core.h and xp_str.h to help BeOS compile. Patch provided by warren. 1999-07-17 06:50:57 +00:00
mcafee@netscape.com 91b92e1787 More error checking for nsFTPChannel::Init() 1999-07-17 03:02:22 +00:00
mscott@netscape.com 61d1f81ca3 bulletproofing some code. it's possible for the loadgroup to be null. 1999-07-17 02:06:47 +00:00
mscott@netscape.com 14006c6704 Add support for honoring the offset parameter on AsynchRead by seeking to the offset position in the file before
reading.
1999-07-16 23:29:12 +00:00
valeski@netscape.com 030314d478 mime map api change 1999-07-16 22:00:11 +00:00
warren@netscape.com 61a33642b8 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
rpotts@netscape.com c9539c3402 Very simple implementation of 301/302 HTTP redirects... 1999-07-16 09:54:20 +00:00
gagan@netscape.com 7d8ad86333 Changed status from nsresult to PRUint32. 1999-07-16 00:40:06 +00:00
gagan@netscape.com 6e502f0b8a Changed const char* to char* for GetStatus calls. 1999-07-16 00:32:50 +00:00
gagan@netscape.com 8222b665c9 Fixed some broken status headers. Added Host: header by default. This was otherwise breaking (as in unsuccessful HTTP) for some sites that use virtual hosts and depend upon the Host: header. 1999-07-15 22:57:04 +00:00
rpotts@netscape.com abbe7f93de Added the query string (if any) to the GET request... NECKO only. 1999-07-13 20:42:36 +00:00
rpotts@netscape.com edd8c7bbbf Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp 1999-07-12 06:21:41 +00:00
warren@netscape.com e3e427bf7e Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change. 1999-07-11 02:43:37 +00:00
warren@netscape.com 1dceb783a6 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren@netscape.com 5c7f61ef04 Changed file transport worker count to 1 for ease of debugging. Revert later. 1999-07-10 11:26:53 +00:00
warren@netscape.com 547a383e13 Fixed some file channel problems. Works better now. Upped buffer size to avoid buffer full problems. 1999-07-10 11:26:51 +00:00
andreas.otte@primus-online.de 97f78bd9d2 NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski 1999-07-10 07:58:11 +00:00
mscott@netscape.com 3c9ee72656 Not part of the regular build yet! Necko change only. Fix my linux build. You can't compare a nsCOMPtr directly to a raw ptr. You need to call .Get() to retrieve the raw ptr and then you can compare for equality 1999-07-08 19:05:48 +00:00
mscott@netscape.com 8369dd8139 (Not part of the normal mozilla build yet) Necko change only. Make destructor virtual. 1999-07-08 19:04:53 +00:00
waterson@netscape.com a3f1fa9090 Fix VC5.0 build bustage (Necko build ONLY). 1999-07-07 20:55:57 +00:00
warren@netscape.com 489c1d2df9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
gordon@netscape.com e950345919 Update for changes to Windows makefiles. 1999-07-07 00:59:20 +00:00
valeski@netscape.com 7ef70bd1a8 default to text/html content type if we don't know what it is 1999-07-06 23:44:15 +00:00
gordon@netscape.com c625a9cba3 Removed nsHTTPRequestObserver.cpp from build, because it is obsolete. 1999-07-06 20:15:03 +00:00
gordon@netscape.com a4f5e2f610 File Removed. 1999-07-06 19:26:57 +00:00
valeski@netscape.com 4068a9afea corrected string parsing argument order 1999-07-06 14:26:29 +00:00
andreas.otte@primus-online.de f70dbc4a7f implemented MakeAbsolute 1999-07-04 15:50:56 +00:00