24 Commits

Author SHA1 Message Date
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
darin%netscape.com
c46e6c43d1 Fixes bug 92438 "http 0.9 rendered as content-type: text/plain with Java applets"
patch=cahagn_o@epita.fr, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@100168 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:54:30 +00:00
jat%princeton.edu
0d5fba96da Fixes bug 75177. r=bbeatz, sr=dougt, patch by: darin.
git-svn-id: svn://10.0.0.236/trunk@99762 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 21:47:02 +00:00
mscott%netscape.com
39519374db 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


git-svn-id: svn://10.0.0.236/trunk@97080 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 21:24:11 +00:00
rpotts%netscape.com
ab9dc742c5 bug #71498 and bug #37001 (r=dougt). These patches fix an assert that was erronously being called and prevent the UnknownDecoder from being called recursively when an error occurs.
git-svn-id: svn://10.0.0.236/trunk@95412 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:02:01 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
dougt%netscape.com
94b77f315b Fix to prevent ODA from firing if there is no data. b71498, r=valeski@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90447 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:32:19 +00:00
valeski%netscape.com
3dcd14eede sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api. also modified nsHTTP and nsHTTPS handlers a bit to make things cleaner.
git-svn-id: svn://10.0.0.236/trunk@89421 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:01:07 +00:00
dougt%netscape.com
175245e2de 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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +00:00
darin%netscape.com
e04a6bf5a7 Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@82654 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:21:46 +00:00
morse%netscape.com
5e4a6d80b4 bug 55731, files on disk need explicit html suffix, r=valeski, a=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81975 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 01:57:24 +00:00
mscott%netscape.com
170bdf49f3 Bug #54381 --> add <BODY> tag to the unknown decoder's attempt to figure out
if content is html or not.
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80961 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:53:18 +00:00
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
rpotts%netscape.com
1e04a2e702 bug #39797. Fixed unknown content-type sniffer to handle 8-bit characters...
git-svn-id: svn://10.0.0.236/trunk@72349 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:15:13 +00:00
valeski%netscape.com
a7376f3952 re-write of multi-mixed converter so it handles binary data. also have the unknown decoder looking for script tags.
git-svn-id: svn://10.0.0.236/trunk@66008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:27:32 +00:00
scc%netscape.com
f969456203 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64929 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:10:15 +00:00
valeski%netscape.com
8294c35c35 nsMimeTypes.h inclusion. also part of the fix to 10551, FTP date problems
git-svn-id: svn://10.0.0.236/trunk@60203 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:07:48 +00:00
rpotts%netscape.com
86ca291639 Fixed up how the source offset was being adjusted...
git-svn-id: svn://10.0.0.236/trunk@57258 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 04:34:52 +00:00
rpotts%netscape.com
96b13f7bf3 fix for build bustage if mailnews is not part of the build... Use mime definitions from netCore.h instead of nsMimeTypes.h
git-svn-id: svn://10.0.0.236/trunk@57256 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 04:08:50 +00:00
rpotts%netscape.com
b9b0d4b201 stream decoder for determining content-type by sniffing the incoming data...
git-svn-id: svn://10.0.0.236/trunk@57177 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:17:40 +00:00