38 Commits

Author SHA1 Message Date
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
bzbarsky%mit.edu
e72122a020 Make the unknown decoder pick up <table> and <div>. Bug 83480, r=rpotts,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@113526 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 16:10:04 +00:00
cathleen%netscape.com
3ae7a2346b eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113144 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:30:32 +00:00
brade%netscape.com
c059175b3b remove unused static KStreamConverterServiceCID saving 16 bytes (bug 117927; rs=darin)
git-svn-id: svn://10.0.0.236/trunk@111675 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:36:22 +00:00
tor%cs.brown.edu
07b40ad301 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@110639 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:07:03 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bzbarsky%mit.edu
c876bd8d34 For files starting with "#!" check whether the buffer contains any nulls
before deciding whether they are plain text.  Bug 110767, r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@109023 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:20:25 +00:00
bzbarsky%mit.edu
1fb836ea17 Add detection of PDF and PostScript to the unknown content decoder.
Bugs 110662 and 110663, r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108486 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:25:53 +00:00
hyatt%netscape.com
5cc58cb983 Fixing 18502, I misapplied the patch and checked in duplicate lines of code. Backing out.
git-svn-id: svn://10.0.0.236/trunk@107252 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 12:00:32 +00:00
hyatt%netscape.com
f908dd5b01 Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband
git-svn-id: svn://10.0.0.236/trunk@107234 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 07:10:51 +00:00
jaggernaut%netscape.com
5e2a1a7476 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106206 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:47:43 +00:00
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