neeti%netscape.com
581444e41a
fix for bug 114439 - nsFileTransportService should cache the mime service. r=dp, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@110328 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:20:38 +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
gagan%netscape.com
911a7b0b3c
Fixes for bug 72599. Checking in on dougt's behalf. r=dougt, sr=brendan, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@95847 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 00:57:57 +00:00
bienvenu%netscape.com
588c63e4e8
add ability to reuse file transports r=dougt,sr=darin 74597
...
git-svn-id: svn://10.0.0.236/trunk@93418 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-29 14:57:31 +00:00
valeski%netscape.com
7ec123afdd
sr=darin. no bug. just dead wood static cid cleanup
...
git-svn-id: svn://10.0.0.236/trunk@92197 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 11:23:11 +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
18dd01466d
Suggested fix from scc@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@87602 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 23:02:29 +00:00
dougt%netscape.com
ac5656785e
making the SunOS complier happy with an static cast
...
git-svn-id: svn://10.0.0.236/trunk@87597 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:15:31 +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
warren%netscape.com
43db39eeb6
Bug 44342 - hang on startup. Added back a lock to mutually exclude cancel/suspend/resume. Seems to work on Mac (i.e. can't reproduce the problem now). Also cleaned up file transport service, removing unused stuff.
...
git-svn-id: svn://10.0.0.236/trunk@73983 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:52:12 +00:00
ruslan%netscape.com
b8fe8a2254
Fix 35508, 33762, 35024.
...
git-svn-id: svn://10.0.0.236/trunk@66003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:10:27 +00:00
warren%netscape.com
7cefc01f95
Factoring stream i/o operations into nsIStreamIO interface.
...
git-svn-id: svn://10.0.0.236/trunk@65799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:50 +00:00
warren%netscape.com
22161b7197
Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code.
...
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
warren%netscape.com
9fa657f1cd
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
dougt%netscape.com
8abdfda22f
Changing file worker thread count to have a minimum and maximum. Bug fix 27336.
...
r=warren,danm a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@62240 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 20:57:51 +00:00
warren%netscape.com
eb9fe3caa8
Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. Minor tweak. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62236 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:29:05 +00:00
warren%netscape.com
326a2bb610
Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62235 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:20:48 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
warren%netscape.com
c7d8a4a439
Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
...
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
warren%netscape.com
cbcd671c5d
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
...
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:36:41 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
warren%netscape.com
4677dd631f
Changed file transport to facilitate jar: protocol -- parameterized by nsIFileSystem. Bug#12579 r=gagan,gayatrib
...
git-svn-id: svn://10.0.0.236/trunk@52070 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 08:02:07 +00:00
sfraser%netscape.com
1122546a7f
Fix for bug 16151; make the file transport working thread stack size 64k, instead of 8k. Fixes crashes on startup on Mac. r=beard
...
git-svn-id: svn://10.0.0.236/trunk@50437 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:39:18 +00:00
warren%netscape.com
30cf63de80
Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski)
...
git-svn-id: svn://10.0.0.236/trunk@49968 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:26:01 +00:00
warren%netscape.com
67162cd708
exited threads on shutdown in nsFileTransportService
...
git-svn-id: svn://10.0.0.236/trunk@48363 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:09 +00:00
warren%netscape.com
8a512d43b3
Getting ready to turn on the new file transport.
...
git-svn-id: svn://10.0.0.236/trunk@47279 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:36:16 +00:00
warren%netscape.com
073765acdf
New modernized file transport. I'm in the process of factoring this out from nsFileChannel.
...
git-svn-id: svn://10.0.0.236/trunk@47152 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:19:32 +00:00
warren%netscape.com
1d026c4ab1
Re-adding these files.
...
git-svn-id: svn://10.0.0.236/trunk@46984 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 22:32:20 +00:00
warren%netscape.com
4de77794cc
Removed. Replaced with file: protocol stuff.
...
git-svn-id: svn://10.0.0.236/trunk@39537 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 17:45:08 +00:00
valeski%netscape.com
68d11ccc79
change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls
...
git-svn-id: svn://10.0.0.236/trunk@37543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:20:17 +00:00
warren%netscape.com
a42da99b5a
New IDL interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@34087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:30 +00:00
warren%netscape.com
2dc75f9664
Fixed up RemoveElement returning bool problem.
...
git-svn-id: svn://10.0.0.236/trunk@27623 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:11:21 +00:00
warren%netscape.com
0bee8e2ab9
Moved read/write methods from TransportService to Transport.
...
git-svn-id: svn://10.0.0.236/trunk@27455 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:10:50 +00:00
warren%netscape.com
96ef3f3cd7
Added synchronous file input. Worked on cancel/suspend/resume work for file transfer.
...
git-svn-id: svn://10.0.0.236/trunk@27332 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:15 +00:00
warren%netscape.com
a868018fd7
Replaced nsIProtocolConnection argument with nsISupports generic context.
...
git-svn-id: svn://10.0.0.236/trunk@26458 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:11:51 +00:00
warren%netscape.com
efaf46e99f
Used nsIByteBufferInputStream. Fixed file transport test.
...
git-svn-id: svn://10.0.0.236/trunk@26404 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:45:24 +00:00
warren%netscape.com
c0cd81ea84
Added file transport stuff.
...
git-svn-id: svn://10.0.0.236/trunk@26038 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 09:25:17 +00:00