Commit Graph

151 Commits

Author SHA1 Message Date
darin%netscape.com
73495dffa0 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
dougt%netscape.com
110f4f1016 50558. check for nulls. written by warren harris r=dougt@netscape.com a=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83140 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:14:41 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mscott%netscape.com
a44231c99a Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
make the http event sync proxy async instead of sync. r=gagan


git-svn-id: svn://10.0.0.236/trunk@78451 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:21:44 +00:00
warren%netscape.com
4d62e29749 Bug 46864 - Embedding needs a name attribute on nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@76772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:23:54 +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
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
warren%netscape.com
daeb105206 Fixed warning.
git-svn-id: svn://10.0.0.236/trunk@74002 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 09:46:51 +00:00
valeski%netscape.com
23654db003 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:39:19 +00:00
warren%netscape.com
d9314a9d34 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:39:45 +00:00
rpotts%netscape.com
d563d41bb5 The file channel needs to implement nsIProgressEventSink, so the channel parameter is *not* the file transport. Doing this means that the FileChannel also needs to implement nsIInterfaceRequestor...
git-svn-id: svn://10.0.0.236/trunk@71341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:19:16 +00:00
gagan%netscape.com
4a1eb5fb3a Fix for bug 37238. We were guessing the mime type incorrectly.
git-svn-id: svn://10.0.0.236/trunk@68188 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:57:58 +00:00
slamm%netscape.com
7b47342c42 Fix declaration order to quiet build warning
git-svn-id: svn://10.0.0.236/trunk@67245 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:31:01 +00:00
warren%netscape.com
cf8e62d78e Fixed RemoveChannel problem.
git-svn-id: svn://10.0.0.236/trunk@65805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:02:32 +00:00
warren%netscape.com
cdc4a80955 Added some cleanup.
git-svn-id: svn://10.0.0.236/trunk@65803 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:30:09 +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
0adc119fff Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091.
git-svn-id: svn://10.0.0.236/trunk@65175 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:49:49 +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
dougt%netscape.com
9c2acfa2d6 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
ruslan%netscape.com
6688eb3fca Fix multithreadness assert in the file channel, r=warren
git-svn-id: svn://10.0.0.236/trunk@62824 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:26 +00:00
valeski%netscape.com
8e0a440cc5 getting the rest of necko to use the mimetypes file. also added protection for UA string setup
git-svn-id: svn://10.0.0.236/trunk@60201 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:04:52 +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
rpotts%netscape.com
8457af366d bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs
git-svn-id: svn://10.0.0.236/trunk@57915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:12:54 +00:00
rpotts%netscape.com
50c3fad132 Made contentType a read/write attribute of nsIChannel
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +00:00
valeski%netscape.com
152b822223 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do
git-svn-id: svn://10.0.0.236/trunk@55551 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:00:47 +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
mscott%netscape.com
86572486f8 implement retargeting for SetLoadGroup
r=valeski,rpotts


git-svn-id: svn://10.0.0.236/trunk@54781 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:19:53 +00:00
rpotts%netscape.com
258f8c739b bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe...
git-svn-id: svn://10.0.0.236/trunk@54450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 23:51:09 +00:00
warren%netscape.com
0257ba25ee Added code to aggressively clean up file transport on failure.
git-svn-id: svn://10.0.0.236/trunk@54262 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 07:01:56 +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
warren%netscape.com
4695e1619c Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz
git-svn-id: svn://10.0.0.236/trunk@53330 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 06:13:13 +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
fe1c294273 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott
git-svn-id: svn://10.0.0.236/trunk@51839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 09:16:24 +00:00
warren%netscape.com
6a952509ef Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
git-svn-id: svn://10.0.0.236/trunk@50406 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:39:37 +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
mscott%netscape.com
dfe61b8c0c Bug #0000 (no bug number necessary). remove old STREAM_CONVERTER_HACK #ifdef code because we no longer need this.
This was the hack we used before we had a stream converter service to load rfc822 data into a webshell and get it
converted to html.
r=warren


git-svn-id: svn://10.0.0.236/trunk@49856 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 20:54:03 +00:00
warren%netscape.com
3c93ae3cf6 freed mCommand in nsFileChannel
git-svn-id: svn://10.0.0.236/trunk@48364 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:13 +00:00
gordon%netscape.com
0b5972abff Remove include of nsDirectoryStreamMumbleSomething.h.
git-svn-id: svn://10.0.0.236/trunk@47709 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:28:16 +00:00
warren%netscape.com
556cf8505e Factored file transport service out of file: protocol.
git-svn-id: svn://10.0.0.236/trunk@47704 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:22 +00:00
slamm%netscape.com
b0cb71c5ed Fix build warnings: reorder initializers.
git-svn-id: svn://10.0.0.236/trunk@47614 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:24:20 +00:00
warren%netscape.com
d89e3159db More fixes for nsCOMPtr inconsistencies.
git-svn-id: svn://10.0.0.236/trunk@46968 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:43:06 +00:00
warren%netscape.com
d54498ba38 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
git-svn-id: svn://10.0.0.236/trunk@46961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:45:36 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
rpotts%netscape.com
cbc7c059dc bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel...
git-svn-id: svn://10.0.0.236/trunk@46514 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 05:07:30 +00:00
norris%netscape.com
4e8768c593 * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings


git-svn-id: svn://10.0.0.236/trunk@46152 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:54:19 +00:00
brendan%mozilla.org
40bece4baa Use deadlock detecting nsAutoMonitors, etc., correctly.
git-svn-id: svn://10.0.0.236/trunk@46127 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:57:40 +00:00
shaver%netscape.com
708e94e89e convert to CreateInstanceFromProgID
git-svn-id: svn://10.0.0.236/trunk@46048 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 06:27:42 +00:00
valeski%netscape.com
30bf2a8793 changed nsCOMTypeInfo<> template to NS_GET_IID macro
git-svn-id: svn://10.0.0.236/trunk@45978 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:51:14 +00:00
mscott%netscape.com
ae6cca052d Bug #10845 --> mailnews mime stream converter now works with the stream converter service and uses nsIstreamConverter
instead of nsIStreamConverter2.


git-svn-id: svn://10.0.0.236/trunk@45919 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:03:12 +00:00