68 Commits

Author SHA1 Message Date
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
mstoltz%netscape.com
68e9bdd8c0 bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@87730 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:15:04 +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
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
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
mstoltz%netscape.com
eddbf0c4fe bug 24765, hooking up necko file cache to jar protocol. Hopefully without leaks this time. Also fixed leak in nsJARURI. r=beard, warren
git-svn-id: svn://10.0.0.236/trunk@79857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:21:18 +00:00
warren%netscape.com
60fc4becf1 Backing out jar protocol change because it introduced a big memory leak on tinderbox test. a=jag
git-svn-id: svn://10.0.0.236/trunk@79752 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:26:07 +00:00
mstoltz%netscape.com
2767b34064 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79711 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:01:16 +00:00
warren%netscape.com
0bccd6825d Backing mstoltz out to get things back up and running with jar packaging. Also, I don't approve of the changes made to nsJARURI.cpp
git-svn-id: svn://10.0.0.236/trunk@79409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 02:18:00 +00:00
mstoltz%netscape.com
5fddebe063 Better bustage fix without leak r=scc
git-svn-id: svn://10.0.0.236/trunk@79362 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:12:36 +00:00
mstoltz%netscape.com
d0300ddc1e Fixing bustage. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79359 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:38:52 +00:00
mstoltz%netscape.com
6191db92e2 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79353 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:27:05 +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
warren%netscape.com
e8ba31ee50 Fixed error code.
git-svn-id: svn://10.0.0.236/trunk@78848 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:11:11 +00:00
jband%netscape.com
c93adf1a1c warren's fix for the new/free mismatch undid kin's fix for the same problem. Also fix an off by one in the backwards 'for' loop. r=warren
git-svn-id: svn://10.0.0.236/trunk@78511 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 09:36:35 +00:00
warren%netscape.com
7122cc624e Bug 50844. Fixed mismatched memory free.
git-svn-id: svn://10.0.0.236/trunk@78487 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:39:17 +00:00
mscott%netscape.com
9b2caee4b9 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
kin%netscape.com
f9f4e41f8c Fix for bug #50927: UMR and FMM: nsJARChannel::GetContentType().
Added check for NULL mJAREntry and we now free filename with 'delete'.
r=warren@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78414 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:31:10 +00:00
warren%netscape.com
f82c91fd02 Changed to not add to load group on OpenInputStream
git-svn-id: svn://10.0.0.236/trunk@77123 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:35:46 +00:00
warren%netscape.com
b92b57f7ad Fixing up GetOwner method to not crash on startup.
git-svn-id: svn://10.0.0.236/trunk@77066 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:36:53 +00:00
dprice%netscape.com
e09dd17510 fixing 49250
computing certificate principal as needed


git-svn-id: svn://10.0.0.236/trunk@76937 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:17:42 +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
conrad%ingress.com
a2cf6be101 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +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
mstoltz%netscape.com
9e2ab39e7d Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@74078 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:10:33 +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
af2c72d1b7 Bug 42283. Crash downloading jar file.
git-svn-id: svn://10.0.0.236/trunk@72361 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:47:46 +00:00
warren%netscape.com
9a33ca8346 Fixed jar url resolve so that chrome protocol works. Fixed jar channel to not remove channel after kicking off load. Bug 18433
git-svn-id: svn://10.0.0.236/trunk@71713 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 09:07:10 +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
warren%netscape.com
77c67afe23 Bug 24764. Cache of opened jar files. r=waterson
git-svn-id: svn://10.0.0.236/trunk@70828 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:32:09 +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
mstoltz%netscape.com
1aebd93c62 Fixes for 27010, 32878, and 32948.
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
mstoltz%netscape.com
a8b220b370 Backing out changes until I can figure out why it's crashing on startup.
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
mstoltz%netscape.com
85e8a5b8e2 Fixes for bugs 27010, 32878, 32948.
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
warren%netscape.com
d54f4ee028 Changing dir create permissions to 775.
git-svn-id: svn://10.0.0.236/trunk@66151 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 21:32:29 +00:00
warren%netscape.com
9edaccbdac Fixed to truncate by default. Fixed permissions to default to 664.
git-svn-id: svn://10.0.0.236/trunk@65967 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 09:32:24 +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
e6ef4a1f7b Moved nsXPIDLString.h out of ifdef for optimized builds.
git-svn-id: svn://10.0.0.236/trunk@65684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:25:32 +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
4437d501e0 Making nsJARDownloadObserver have thread-safe addref/release.
git-svn-id: svn://10.0.0.236/trunk@65174 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:34:37 +00:00
warren%netscape.com
b059aabd61 Fixed uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@65163 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:11:30 +00:00
warren%netscape.com
408d590cf3 Fix to make download observer not crash.
git-svn-id: svn://10.0.0.236/trunk@65153 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:56:11 +00:00
warren%netscape.com
da349eb24e Bug 28269. jar file cache should open local files in place
git-svn-id: svn://10.0.0.236/trunk@64591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:13:50 +00:00
warren%netscape.com
e8a3ec30ae Making jar: protocol work in general, and OpenInputStream in particular.
git-svn-id: svn://10.0.0.236/trunk@64583 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:39:31 +00:00
warren%netscape.com
ea4fe0d132 Fixed nsCOMPtr problem in ?: statement.
git-svn-id: svn://10.0.0.236/trunk@64451 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 04:38:38 +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
norris%netscape.com
dfa2be9fb0 Added aggregate principal support. r=norris. (This is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63541 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:17:37 +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