waterson%netscape.com
eca4eb2378
Can't keep a ref to iterator's filespec, and then advance the iterator; need to make a copy.
1999-08-24 19:58:07 +00:00
warren%netscape.com
895a69acc1
Replaced nsPipe2.h with nsIPipe.idl
1999-08-24 08:46:32 +00:00
waterson%netscape.com
6282b19257
Add some commentary.
1999-08-24 06:45:06 +00:00
waterson%netscape.com
03ef9a0dd7
Oops. Left off the 'file-type' specifier in the '200' line.
1999-08-24 06:41:35 +00:00
waterson%netscape.com
f35714a8a6
Add nsDirectoryIndexStream to the build.
1999-08-24 04:24:35 +00:00
waterson%netscape.com
087fbea164
Add nsDirectoryIndexStream.cpp to the build.
1999-08-24 04:23:55 +00:00
waterson%netscape.com
64ab1c9f4e
Initial revision. Not yet in the build.
1999-08-24 01:32:19 +00:00
dougt%netscape.com
a7dd519e15
Making nsNetModuleMgr use proxy.
...
Clean up nsNetModuleMgr API.
Change http to use new API.
1999-08-24 00:34:51 +00:00
mscott%netscape.com
cfa2aabcd3
Add a do_QueryInterface to a call in AsyncRead. This fixes an assertion I keep getting whenever I bring up the browser.
1999-08-24 00:29:24 +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
hshaw%netscape.com
62064636df
allow inheritance
1999-08-22 17:28:36 +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
mccabe%netscape.com
381fb81c4f
Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
1999-08-22 11:25:50 +00:00
gagan%netscape.com
0c214adc91
Code style consistency cleanup.
1999-08-21 00:22:18 +00:00
sspitzer%netscape.com
d59e01480f
fix warning
1999-08-19 06:27:24 +00:00
leaf%mozilla.org
0dae772019
Finishing backout of dougt
1999-08-19 02:58:12 +00:00
dougt%netscape.com
0b7cc4c86e
Updating to use new NetMod Notification.
1999-08-18 09:33:27 +00:00
warren%netscape.com
d944d70a84
Fix for bug 7682: StringBundle can't load URLs from imap thread.
1999-08-13 00:43:48 +00:00
briano%netscape.com
955529a7f3
Unix native compilers don't like it when files don't end with a newline.
1999-08-12 01:58:19 +00:00
valeski%netscape.com
0091d03cb8
added pipe2 stuff back in after patrick got the pipe2 stuff linking in w/ mac
1999-08-12 01:01:55 +00:00
valeski%netscape.com
a652772b48
removed nsPipe2 api usage
1999-08-11 23:58:35 +00:00
valeski%netscape.com
4c6ccdee2b
added files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl
1999-08-11 22:27:12 +00:00
valeski%netscape.com
87e42a03b1
adding next rev of ftp protocol
1999-08-11 22:26:32 +00:00
rpotts%netscape.com
a806fec196
Bug #11410 . Changed NS_ASSERTION to checkc the *correct* variable. Someday I'll grow a brain and become really dangerous...
1999-08-11 21:15:49 +00:00
warren%netscape.com
9ac2ca82f2
Fixed problem for large files (or small buffers). Added logging.
1999-08-11 08:17:35 +00:00
gagan%netscape.com
4207799f58
Temporarily fixing the assert which I think is ok, but would let rpotts confirm it.
1999-08-11 04:28:32 +00:00
rpotts%netscape.com
f2ce78ae81
Release the pointers that were passed into AsyncRead(...) when the operation is compelete. This breaks some circular references that prevented WebShells from being deleted...
1999-08-10 04:02:10 +00:00
rpotts%netscape.com
04a3d364ce
Implement the nsIRequest interface for nsHTTPChannel. This allows channels that are cancelled from a LoadGroup to *actually* get removed...
1999-08-09 07:07:08 +00:00
rpotts%netscape.com
449ba12da6
bug #10790 . The HTTPChannel is now given to the HTTPResponseListener during construction. Before, it was getting it via a dirty cast in the OnStartRequest notification. Unfortunately, OnStartRequest is only called if the connection is successful. This caused a crash in OnStopRequest if the HTTPChannel was not available :-(
1999-08-06 07:57:44 +00:00
valeski%netscape.com
9ef221c292
fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac
1999-08-05 16:17:22 +00:00
rhp%netscape.com
98bb37cae0
added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp
1999-08-05 13:23:45 +00:00
rhp%netscape.com
f02cb85a5f
added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl
1999-08-05 13:16:39 +00:00
rpotts%netscape.com
fd0ec4db70
Fix for build bustage on Linux...
1999-08-05 09:07:29 +00:00
rpotts%netscape.com
0d546eaffa
bug #10739 . Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp.
1999-08-05 08:27:49 +00:00
rpotts%netscape.com
6e6cdb32c5
bug #10739 . Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files...
1999-08-05 08:26:57 +00:00
gagan%netscape.com
f182cc62db
Added a new MANIFEST file for nsHTTP stuff.
1999-08-04 16:12:30 +00:00
gagan%netscape.com
46143f3127
POSTing works now.
1999-08-04 15:07:26 +00:00
warren%netscape.com
8d70ef168e
Returned error when file not found for OpenInputStream.
1999-08-03 22:00:17 +00:00
dougt%netscape.com
3c1d894f1c
removing hard coded "http" string and using GetScheme() instead.
...
cleaning up a memory leak
1999-08-03 02:15:30 +00:00
warren%netscape.com
529c0b2b71
Removed hack to export to netwerk/dist (used before landing necko).
1999-08-03 00:38:25 +00:00
valeski%netscape.com
1cdf612052
pulled file extension search code and started using new mime mapping method which does it for us
1999-08-01 16:44:29 +00:00
warren%netscape.com
7451a9a44d
Took out more f*** nsCOMPtrs
1999-07-31 07:51:35 +00:00
warren%netscape.com
07b963204e
Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group.
1999-07-31 06:53:12 +00:00
beard%netscape.com
8a020feafa
removed special handling of /usr/local/bin/netscape in favor of better solution in resource: URL handler.
1999-07-31 01:04:23 +00:00
rpotts%netscape.com
558cdd62be
bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect.
1999-07-30 07:13:05 +00:00
rpotts%netscape.com
21e7d3da37
bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect.
1999-07-30 06:39:24 +00:00
warren%netscape.com
57392932f9
Fixed to not put stuff in netwerk/dist anymore.
1999-07-30 06:10:53 +00:00
gagan%netscape.com
7404fbfb83
Fixes the spaces problem also on the Mac!
1999-07-30 01:17:29 +00:00
gagan%netscape.com
c6472453b8
Fixed the spaces problem. File path is now unescaped before being handed over to file spec.
1999-07-30 00:55:35 +00:00
sdagley%netscape.com
55649b036c
Temp hack for the Mac to address error opening files that aren't properly un-escaped (%20 still in the path instead of spaces for example). We still fail to open the file but now there's an error message to go along with the failure. Note that this will require Macsbug to be installed or a Mac hitting this error will crash. Since we were already telling people that they needed Macsbug installed to run the developmental builds I don't see a problem with this.
1999-07-30 00:37:58 +00:00
mscott%netscape.com
d563520210
fix build by including config.mak
1999-07-29 03:10:23 +00:00
mscott%netscape.com
17edea3140
fix build breakage...include config.mak
1999-07-29 02:49:02 +00:00
rpotts%netscape.com
8c60c16be7
Set the max number of open transports to 8.
1999-07-28 09:26:55 +00:00
rpotts%netscape.com
315de829f9
Obsolete file...
1999-07-28 09:25:51 +00:00
rpotts%netscape.com
bf7d1235bc
Support for a Max number of open transports.
1999-07-28 09:25:31 +00:00
warren%netscape.com
c7b57f1e08
Fixed mismatched delete problem (purify).
1999-07-28 04:05:10 +00:00
warren%netscape.com
cfc523f742
Added assertion for bug I was hitting (spinning).
1999-07-27 08:47:43 +00:00
warren%netscape.com
17c0cb8533
Added missing error check.
1999-07-27 08:47:13 +00:00
gordon%netscape.com
22715d631f
Find proper resource directory for Mac, rather than /usr/local/netscape/bin.
1999-07-27 01:11:03 +00:00
beard%netscape.com
a0521b8805
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
748a1853fe
necko - we now set the user agent by default
1999-07-25 13:54:47 +00:00
warren%netscape.com
26a8529775
Removed about:blank joke.
1999-07-23 20:11:02 +00:00
mscott%netscape.com
26a3b9cd3b
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
d8313c8a56
Added nsHTTPEncodeStream.cpp.
1999-07-23 01:03:15 +00:00
gordon%netscape.com
dd4ca602e8
Added nsIHTTPProtocolHandler.idl.
1999-07-23 00:56:23 +00:00
gagan%netscape.com
b44058b222
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
fc1c23671b
Fixing Necko build bustage.
1999-07-22 03:33:49 +00:00
tbogard%aol.net
8f76874619
Looks like I missed a header for the nsCStringKey -> nsStringKey change.
1999-07-22 02:47:39 +00:00
gagan%netscape.com
14c1cb2c49
Replaced resource:// with resource:/ to be more compliant with our parsing rules.
1999-07-21 11:48:56 +00:00
warren%netscape.com
ab34582f5b
Added encode flags.
1999-07-21 07:05:12 +00:00
warren%netscape.com
568cf0dedf
Working on NS_NewPostDataStream -- doesn't work yet though.
1999-07-21 05:53:25 +00:00
mscott%netscape.com
824bad82e8
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
3373348387
using more appropriate notification progids
1999-07-20 20:44:02 +00:00
mscott%netscape.com
ff5d0893fc
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
bf8423a769
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
warren%netscape.com
ffe7345c94
Started adding encode stream for necko posting.
1999-07-20 08:45:41 +00:00
warren%netscape.com
5cf0a4cadd
Added BeOS fix.
1999-07-19 18:42:44 +00:00
rickg%netscape.com
23b232d248
switch to faster string search API
1999-07-19 03:29:56 +00:00
mcafee%netscape.com
552ee1b1fa
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
2d83f3faab
More error checking for nsFTPChannel::Init()
1999-07-17 03:02:22 +00:00
mscott%netscape.com
e5bf603535
bulletproofing some code. it's possible for the loadgroup to be null.
1999-07-17 02:06:47 +00:00
mscott%netscape.com
8d979a472e
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
4ee45defd5
mime map api change
1999-07-16 22:00:11 +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
rpotts%netscape.com
888168a292
Very simple implementation of 301/302 HTTP redirects...
1999-07-16 09:54:20 +00:00
gagan%netscape.com
b778e933c4
Changed status from nsresult to PRUint32.
1999-07-16 00:40:06 +00:00
gagan%netscape.com
7da5059cdb
Changed const char* to char* for GetStatus calls.
1999-07-16 00:32:50 +00:00
gagan%netscape.com
3abf7c6edb
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
500486a5d0
Added the query string (if any) to the GET request... NECKO only.
1999-07-13 20:42:36 +00:00
rpotts%netscape.com
649255cf93
Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp
1999-07-12 06:21:41 +00:00
warren%netscape.com
699e29f427
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
e9f97d9c22
Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write.
1999-07-10 11:26:59 +00:00
warren%netscape.com
ea58a47f3c
Changed file transport worker count to 1 for ease of debugging. Revert later.
1999-07-10 11:26:53 +00:00
warren%netscape.com
b632ed0c4f
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
0954d17559
NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski
1999-07-10 07:58:11 +00:00
mscott%netscape.com
8ecb5aa054
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
eac53e102e
(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
64d488e196
Fix VC5.0 build bustage (Necko build ONLY).
1999-07-07 20:55:57 +00:00
warren%netscape.com
9975942bdb
Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
1999-07-07 08:08:40 +00:00
gordon%netscape.com
147e0974f0
Update for changes to Windows makefiles.
1999-07-07 00:59:20 +00:00