Commit Graph

700 Commits

Author SHA1 Message Date
valeski%netscape.com
47caa42c95 pulled file extension search code and started using new mime mapping method which does it for us
git-svn-id: svn://10.0.0.236/trunk@41759 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:44:29 +00:00
warren%netscape.com
ea0efc8e73 Took out more f*** nsCOMPtrs
git-svn-id: svn://10.0.0.236/trunk@41703 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 07:51:35 +00:00
warren%netscape.com
7517ffc87e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group.
git-svn-id: svn://10.0.0.236/trunk@41690 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 06:53:12 +00:00
beard%netscape.com
175d2aca7a removed special handling of /usr/local/bin/netscape in favor of better solution in resource: URL handler.
git-svn-id: svn://10.0.0.236/trunk@41655 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 01:04:23 +00:00
rpotts%netscape.com
d5c1d655fd bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect.
git-svn-id: svn://10.0.0.236/trunk@41587 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 07:13:05 +00:00
rpotts%netscape.com
e3936a5ca6 bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect.
git-svn-id: svn://10.0.0.236/trunk@41586 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 06:39:24 +00:00
warren%netscape.com
de74d366e4 Fixed to not put stuff in netwerk/dist anymore.
git-svn-id: svn://10.0.0.236/trunk@41585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 06:10:53 +00:00
gagan%netscape.com
cf752b583b Fixes the spaces problem also on the Mac!
git-svn-id: svn://10.0.0.236/trunk@41570 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 01:17:29 +00:00
gagan%netscape.com
cab1eacb84 Fixed the spaces problem. File path is now unescaped before being handed over to file spec.
git-svn-id: svn://10.0.0.236/trunk@41568 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 00:55:35 +00:00
sdagley%netscape.com
5786f41727 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.
git-svn-id: svn://10.0.0.236/trunk@41565 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 00:37:58 +00:00
mscott%netscape.com
70cac31dfd fix build by including config.mak
git-svn-id: svn://10.0.0.236/trunk@41522 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 03:10:23 +00:00
mscott%netscape.com
5a2e9230b1 fix build breakage...include config.mak
git-svn-id: svn://10.0.0.236/trunk@41520 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 02:49:02 +00:00
rpotts%netscape.com
8766545ebe Set the max number of open transports to 8.
git-svn-id: svn://10.0.0.236/trunk@41463 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:26:55 +00:00
rpotts%netscape.com
d4da5bce52 Obsolete file...
git-svn-id: svn://10.0.0.236/trunk@41462 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:25:51 +00:00
rpotts%netscape.com
6ced5b9bb6 Support for a Max number of open transports.
git-svn-id: svn://10.0.0.236/trunk@41461 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:25:31 +00:00
warren%netscape.com
2c5e794352 Fixed mismatched delete problem (purify).
git-svn-id: svn://10.0.0.236/trunk@41418 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:05:10 +00:00
warren%netscape.com
a207202ff4 Added assertion for bug I was hitting (spinning).
git-svn-id: svn://10.0.0.236/trunk@41274 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 08:47:43 +00:00
warren%netscape.com
b8c845642e Added missing error check.
git-svn-id: svn://10.0.0.236/trunk@41273 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 08:47:13 +00:00
gordon%netscape.com
eaa97b33d1 Find proper resource directory for Mac, rather than /usr/local/netscape/bin.
git-svn-id: svn://10.0.0.236/trunk@41197 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 01:11:03 +00:00
beard%netscape.com
c0d3140ca8 Makes resource URLs work, by special-casing "/usr/local/netscape/bin" on the Mac. This should probably be moved elsewhere, but works for now.
git-svn-id: svn://10.0.0.236/trunk@41058 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 18:39:41 +00:00
valeski%netscape.com
d850efef51 necko - we now set the user agent by default
git-svn-id: svn://10.0.0.236/trunk@41049 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 13:54:47 +00:00
warren%netscape.com
4b293af6b1 Removed about:blank joke.
git-svn-id: svn://10.0.0.236/trunk@40925 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 20:11:02 +00:00
mscott%netscape.com
6f0592ea4d 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


git-svn-id: svn://10.0.0.236/trunk@40842 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 06:16:37 +00:00
gordon%netscape.com
67a5ba8337 Added nsHTTPEncodeStream.cpp.
git-svn-id: svn://10.0.0.236/trunk@40767 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 01:03:15 +00:00
gordon%netscape.com
3f608f4057 Added nsIHTTPProtocolHandler.idl.
git-svn-id: svn://10.0.0.236/trunk@40763 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 00:56:23 +00:00
gagan%netscape.com
fe009512c7 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.
git-svn-id: svn://10.0.0.236/trunk@40697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:14:51 +00:00
tbogard%aol.net
3f2aa8acfc Fixing Necko build bustage.
git-svn-id: svn://10.0.0.236/trunk@40592 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 03:33:49 +00:00
tbogard%aol.net
5a355ca688 Looks like I missed a header for the nsCStringKey -> nsStringKey change.
git-svn-id: svn://10.0.0.236/trunk@40587 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:47:39 +00:00
gagan%netscape.com
b1bd2ca61f Replaced resource:// with resource:/ to be more compliant with our parsing rules.
git-svn-id: svn://10.0.0.236/trunk@40440 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 11:48:56 +00:00
warren%netscape.com
7e740fae1a Added encode flags.
git-svn-id: svn://10.0.0.236/trunk@40424 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 07:05:12 +00:00
warren%netscape.com
359e372750 Working on NS_NewPostDataStream -- doesn't work yet though.
git-svn-id: svn://10.0.0.236/trunk@40420 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 05:53:25 +00:00
mscott%netscape.com
81bba65a3c 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.


git-svn-id: svn://10.0.0.236/trunk@40341 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:44:24 +00:00
valeski%netscape.com
1445aad005 using more appropriate notification progids
git-svn-id: svn://10.0.0.236/trunk@40319 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 20:44:02 +00:00
mscott%netscape.com
dfd44a08a0 Necko only!!! Fix build breakage for clobber builds by removing reference to nsIHTTPHandler.h
which is no longer being exported.


git-svn-id: svn://10.0.0.236/trunk@40293 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 18:46:34 +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
warren%netscape.com
eaef4bf523 Started adding encode stream for necko posting.
git-svn-id: svn://10.0.0.236/trunk@40265 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:45:41 +00:00
warren%netscape.com
5d3a4fb15f Added BeOS fix.
git-svn-id: svn://10.0.0.236/trunk@40116 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:42:44 +00:00
rickg%netscape.com
541f805b78 switch to faster string search API
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:29:56 +00:00
mcafee%netscape.com
a2a0a379f7 Removing unnecessary includes of xp_core.h and xp_str.h to help BeOS compile. Patch provided by warren.
git-svn-id: svn://10.0.0.236/trunk@39846 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 06:50:57 +00:00
mcafee%netscape.com
a2cd5a6820 More error checking for nsFTPChannel::Init()
git-svn-id: svn://10.0.0.236/trunk@39836 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 03:02:22 +00:00
mscott%netscape.com
9ae814e569 bulletproofing some code. it's possible for the loadgroup to be null.
git-svn-id: svn://10.0.0.236/trunk@39823 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 02:06:47 +00:00
mscott%netscape.com
79bc4b9326 Add support for honoring the offset parameter on AsynchRead by seeking to the offset position in the file before
reading.


git-svn-id: svn://10.0.0.236/trunk@39786 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:29:12 +00:00
valeski%netscape.com
821a5628a1 mime map api change
git-svn-id: svn://10.0.0.236/trunk@39765 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:00:11 +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
rpotts%netscape.com
e4883a66f0 Very simple implementation of 301/302 HTTP redirects...
git-svn-id: svn://10.0.0.236/trunk@39676 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 09:54:20 +00:00
gagan%netscape.com
ba73fe5d83 Changed status from nsresult to PRUint32.
git-svn-id: svn://10.0.0.236/trunk@39602 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:40:06 +00:00
gagan%netscape.com
3a52ffc7d9 Changed const char* to char* for GetStatus calls.
git-svn-id: svn://10.0.0.236/trunk@39599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:32:50 +00:00
gagan%netscape.com
20644f0192 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.
git-svn-id: svn://10.0.0.236/trunk@39553 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 22:57:04 +00:00
rpotts%netscape.com
bfecc033f2 Added the query string (if any) to the GET request... NECKO only.
git-svn-id: svn://10.0.0.236/trunk@39204 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 20:42:36 +00:00
rpotts%netscape.com
6360d82341 Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp
git-svn-id: svn://10.0.0.236/trunk@38999 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 06:21:41 +00:00