45 Commits

Author SHA1 Message Date
dougt%netscape.com
e4505fe3a8 60723. check for null. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83139 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:12:54 +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
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
mscott%netscape.com
9940c9a434 Bug #43652 --> fix running of JS urls by returning the error status of the
underlying file transport if the input stream channel doesn't have an error
of it's own.
r=warren


git-svn-id: svn://10.0.0.236/trunk@73830 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:42:15 +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
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
bd9c1829cc Removed extra call to Open
git-svn-id: svn://10.0.0.236/trunk@66660 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:15:42 +00:00
warren%netscape.com
1985a1bd83 Fixed assertion problem with rv/rv2.
git-svn-id: svn://10.0.0.236/trunk@65806 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:07:13 +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
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
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
mscott%netscape.com
6546f8bef8 need ability to write load attrib flags on input stream channel as part of the refactoring of the doc loader
into the uri loader
r=travis


git-svn-id: svn://10.0.0.236/trunk@59157 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 05:05:38 +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
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
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +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
valeski%netscape.com
9903ce8559 16256, r=gagan. the nsinputstreamchannel was lowercasing the entire contenttype. we don't want to lower case the contenttype attribs
git-svn-id: svn://10.0.0.236/trunk@53138 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:37:18 +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
c34a2941df Made nsIInputStreamChannel scriptable and constructable from component manager. bug#15294
git-svn-id: svn://10.0.0.236/trunk@52672 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:09:20 +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
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
11103f9a36 Fix for the editor coming up DOA. nsInputStreamChannel wasn't getting the load group propagated to it.
git-svn-id: svn://10.0.0.236/trunk@47762 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 08:03:02 +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
valeski%netscape.com
ddb76a233d content types are now forced to lower case: 13609
git-svn-id: svn://10.0.0.236/trunk@47368 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:42:09 +00:00
warren%netscape.com
d00363c174 Attempt to fix linux bustage.
git-svn-id: svn://10.0.0.236/trunk@46976 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 20:45:50 +00:00
warren%netscape.com
bc732af149 Fix for linux breakage.
git-svn-id: svn://10.0.0.236/trunk@46967 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 19:32:03 +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
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
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
valeski%netscape.com
ce33624a33 added GetContentType functionality. Now the channel tries the mime service and uses it's own member when possible.
git-svn-id: svn://10.0.0.236/trunk@45044 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 14:14:30 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
warren%netscape.com
d5517979e2 Removed nsCOMPtr breakage.
git-svn-id: svn://10.0.0.236/trunk@41697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 07:30:49 +00:00
warren%netscape.com
7517ffc87e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group.
git-svn-id: svn://10.0.0.236/trunk@41690 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 06:53:12 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
warren%netscape.com
e5443f5588 Fix for about:blank to work -- not destroy the listener prematurely in the OnStopRequest method.
git-svn-id: svn://10.0.0.236/trunk@38285 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 20:27:27 +00:00
warren%netscape.com
792153d3dd Added.
git-svn-id: svn://10.0.0.236/trunk@38244 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 04:45:49 +00:00