Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky@mit.edu 57b1b90f4d Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking 2007-08-20 20:26:12 -07:00
cbiesinger%web.de a381b0935f bug 325177 r=darin sr=bz
- add a "request" parameter to nsIContentSniffer
- make the unknowndecoder implement nsIContentSniffer
- make nsBaseChannel do type detection via nsIContentSniffer rather than a
  stream converter
2006-02-17 16:54:27 +00:00
cbiesinger%web.de 0c7a7ecb91 Bug 247981 necko depends on libpr0n
r=pavlov sr=darin
2004-07-19 18:53:02 +00:00
gerv%gerv.net 8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bzbarsky%mit.edu 6ccc20cdbe Work around misconfiguration in default Apache installs that makes it claim all
sorts of stuff as text/plain.  Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
bzbarsky%mit.edu 327a0205c8 prettify HTML-detection a bit; make it a little less likely to detect HTML.
Bug 144672, r=bbaetz, sr=darin
2003-04-04 22:46:50 +00:00
bzbarsky%mit.edu 3afe1118bb Add sniffing of XML files. Reorganize the sniffing code to make plugging in
new sniffers simpler.  Bug 186884, r=bbaetz, sr=darin
2003-01-11 19:34:13 +00:00
bzbarsky%mit.edu 7f484ee985 Allow view-source to handle arbitrary content (as text-plain, in the
worst case).  Bug 77337, r=jst, sr=darin
2002-09-03 22:10:08 +00:00
bzbarsky%mit.edu c4b161c668 make view-source work on sites sending no content-type header. Bug
86835, r=bbaetz, sr=rpotts
2002-05-15 20:09:07 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
mscott%netscape.com d72f0f6303 Bug #83241 --> sniff for image types in the unknown decoder. This allows mozilla to properly layout local files
called "test" that are really images (test.jpg, or test.gif). The sniffing code is cloned directly from libpr0n.

r/sr=rpotts
a=blizzard
2001-06-13 21:24:11 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
dougt%netscape.com 128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
morse%netscape.com 7a35ab0fd7 bug 55731, files on disk need explicit html suffix, r=valeski, a=gagan, sr=mscott 2000-10-29 01:57:24 +00:00
pepper%netscape.com 26fe0c6d90 All source files must have a newline at the end or HP compilers choke
r=jdunn
2000-01-10 05:31:26 +00:00
rpotts%netscape.com 37a760ac57 stream decoder for determining content-type by sniffing the incoming data... 2000-01-08 06:17:40 +00:00