Commit Graph

183 Commits

Author SHA1 Message Date
warren%netscape.com
ae47d277d3 Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com
d0f68edd62 Added access path for netwerk/base/src. 2000-01-14 10:15:46 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rpotts%netscape.com
023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
dougt%netscape.com
b1db728381 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
valeski%netscape.com
06d6ba655f 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 1999-12-07 07:00:47 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
mscott%netscape.com
df05f7c5cb implement retargeting for SetLoadGroup
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
rpotts%netscape.com
193521bc26 bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe... 1999-11-24 23:51:09 +00:00
warren%netscape.com
e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
warren%netscape.com
9493f81938 Added code to aggressively clean up file transport on failure. 1999-11-23 07:01:56 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
warren%netscape.com
4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
warren%netscape.com
f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
warren%netscape.com
641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
warren%netscape.com
8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
mscott%netscape.com
adddfe7cec 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
1999-10-05 20:54:03 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
kipp%netscape.com
8fedfe4c3c nuked 1999-09-30 21:38:19 +00:00
kipp%netscape.com
c76720c9ee added files: mozilla/netwerk/protocol/file/src/nsFileProtocolModule.cpp, removed files: mozilla/netwerk/protocol/file/src/nsFileProtocolFactory.cpp 1999-09-30 21:29:03 +00:00
kipp%netscape.com
a8d7d25d5d Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com
8945b95dcc new 1999-09-30 01:53:31 +00:00
warren%netscape.com
2d231c38d9 cleaned up unused stuff in nsFileProtocolHandler 1999-09-20 20:53:17 +00:00
warren%netscape.com
9a5468a916 freed mCommand in nsFileChannel 1999-09-20 20:53:13 +00:00
gordon%netscape.com
9ecddd21c9 Remove include of nsDirectoryStreamMumbleSomething.h. 1999-09-16 01:28:16 +00:00
warren%netscape.com
7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
gordon%netscape.com
d99240d307 Added nsIFileTransportService.idl and nsISocketTransportService.idl to netwerkIDL.mcp. Removed nsDirectoryIndexStream.cpp from file.mcp and added nsFileTransport.cpp, nsFileTransportService.cpp, and nsDirectoryIndexStream.cpp to netwerk.mcp. All part of warren's checkin. 1999-09-16 01:16:17 +00:00
warren%netscape.com
994f05a34e Making nsIThread nsIRunnable and nsIThreadPool idl interfaces. 1999-09-15 21:41:20 +00:00
slamm%netscape.com
93bea7dbd6 Fix build warnings: reorder initializers. 1999-09-15 19:24:20 +00:00
warren%netscape.com
279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
sfraser%netscape.com
bdcf7c443e Fix the file type of the shared lib 1999-09-14 00:49:58 +00:00
warren%netscape.com
506438ded2 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00
warren%netscape.com
d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
briano%netscape.com
32510b6ff3 General cleanup. 1999-09-10 01:57:11 +00:00
warren%netscape.com
40ed9d6ad2 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. 1999-09-09 22:05:05 +00:00
rpotts%netscape.com
d78c217f46 bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel... 1999-09-09 05:07:30 +00:00
briano%netscape.com
696e28cdec Removed the obsolete non-NECKO leftovers. 1999-09-09 00:59:41 +00:00
norris%netscape.com
2d8e12375f * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings
1999-09-07 02:54:19 +00:00
brendan%mozilla.org
7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
shaver%netscape.com
6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
bruce%cybersight.com
d16eeb2d46 Change delete[] of nsEscape() result to nsCRT::free(). 1999-09-04 16:37:24 +00:00
valeski%netscape.com
f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
mscott%netscape.com
eb22c256d5 Bug #10845 --> mailnews mime stream converter now works with the stream converter service and uses nsIstreamConverter
instead of nsIStreamConverter2.
1999-09-03 22:03:12 +00:00
warren%netscape.com
bc9c0f4451 Fix case where suspended file transport terminates early. Fixes missing Help menu and toolbar problem. 1999-09-01 01:31:39 +00:00
warren%netscape.com
efb0c1cd5d Made NS_BASE_STREAM_WOULD_BLOCK a failure code (for JS). Reduced socket transport buffer size. Fixed ABBA deadlock when calling OnEmpty in pipe code (bug#12870). 1999-08-31 21:47:30 +00:00
norris%netscape.com
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
warren%netscape.com
b1c540e4a4 Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
rjc%netscape.com
9ab582d122 When enumerating a folder's contents, don't resolve aliases, and don't return hidden files/folders. 1999-08-27 03:42:23 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
waterson%netscape.com
a079c6ff90 Fix compiler warning. 1999-08-26 04:28:14 +00:00
jdunn%netscape.com
7e20f0761f HP requires a newline at the end 1999-08-25 21:21:22 +00:00
dougt%netscape.com
4fa0148c0f fixing build bustage. 1999-08-25 00:19:00 +00:00
dougt%netscape.com
9d805dcf7b Fix for bug 10435. Everything except CopyFrom() and MoveFrom() 1999-08-24 22:30:59 +00:00
waterson%netscape.com
4b3a77da70 Okay, checking back in my fix for the filespec and iterator. 1999-08-24 22:08:55 +00:00
waterson%netscape.com
0def552738 Backed out per don's request. 1999-08-24 20:07:12 +00:00
waterson%netscape.com
eca4eb2378 Can't keep a ref to iterator's filespec, and then advance the iterator; need to make a copy. 1999-08-24 19:58:07 +00:00
waterson%netscape.com
6282b19257 Add some commentary. 1999-08-24 06:45:06 +00:00
waterson%netscape.com
03ef9a0dd7 Oops. Left off the 'file-type' specifier in the '200' line. 1999-08-24 06:41:35 +00:00
waterson%netscape.com
f35714a8a6 Add nsDirectoryIndexStream to the build. 1999-08-24 04:24:35 +00:00
waterson%netscape.com
087fbea164 Add nsDirectoryIndexStream.cpp to the build. 1999-08-24 04:23:55 +00:00
waterson%netscape.com
64ab1c9f4e Initial revision. Not yet in the build. 1999-08-24 01:32:19 +00:00
mccabe%netscape.com
a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com
17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
warren%netscape.com
d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
warren%netscape.com
9ac2ca82f2 Fixed problem for large files (or small buffers). Added logging. 1999-08-11 08:17:35 +00:00
warren%netscape.com
8d70ef168e Returned error when file not found for OpenInputStream. 1999-08-03 22:00:17 +00:00
warren%netscape.com
529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com
1cdf612052 pulled file extension search code and started using new mime mapping method which does it for us 1999-08-01 16:44:29 +00:00
warren%netscape.com
7451a9a44d Took out more f*** nsCOMPtrs 1999-07-31 07:51:35 +00:00
warren%netscape.com
07b963204e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group. 1999-07-31 06:53:12 +00:00
beard%netscape.com
8a020feafa removed special handling of /usr/local/bin/netscape in favor of better solution in resource: URL handler. 1999-07-31 01:04:23 +00:00
gagan%netscape.com
7404fbfb83 Fixes the spaces problem also on the Mac! 1999-07-30 01:17:29 +00:00
gagan%netscape.com
c6472453b8 Fixed the spaces problem. File path is now unescaped before being handed over to file spec. 1999-07-30 00:55:35 +00:00
sdagley%netscape.com
55649b036c Temp hack for the Mac to address error opening files that aren't properly un-escaped (%20 still in the path instead of spaces for example). We still fail to open the file but now there's an error message to go along with the failure. Note that this will require Macsbug to be installed or a Mac hitting this error will crash. Since we were already telling people that they needed Macsbug installed to run the developmental builds I don't see a problem with this. 1999-07-30 00:37:58 +00:00
mscott%netscape.com
17edea3140 fix build breakage...include config.mak 1999-07-29 02:49:02 +00:00
warren%netscape.com
c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
beard%netscape.com
a0521b8805 Makes resource URLs work, by special-casing "/usr/local/netscape/bin" on the Mac. This should probably be moved elsewhere, but works for now. 1999-07-25 18:39:41 +00:00
mscott%netscape.com
26a3b9cd3b necko only:
Added the "hack" which can be turned off by undefining STREAM_CONVERTER_HACK. Basically, if we are reading in an rfc822
file we insert a stream converter between the file channel and the consumer of the file channel. the file channel
then talks to the converter which talks to the end consumer.

Made the file channel honor the number of bytes read parameter which gets passed in on AsyncRead. We now cancel the read
after we've read in the desired # of bytes.

fixed two file parsing bugs: one in Init and one in GetContenttype
1999-07-23 06:16:37 +00:00
gagan%netscape.com
b44058b222 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
warren%netscape.com
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
rickg%netscape.com
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
mscott%netscape.com
8d979a472e Add support for honoring the offset parameter on AsynchRead by seeking to the offset position in the file before
reading.
1999-07-16 23:29:12 +00:00
valeski%netscape.com
4ee45defd5 mime map api change 1999-07-16 22:00:11 +00:00
warren%netscape.com
84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
rpotts%netscape.com
649255cf93 Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp 1999-07-12 06:21:41 +00:00
warren%netscape.com
ea58a47f3c Changed file transport worker count to 1 for ease of debugging. Revert later. 1999-07-10 11:26:53 +00:00
warren%netscape.com
b632ed0c4f Fixed some file channel problems. Works better now. Upped buffer size to avoid buffer full problems. 1999-07-10 11:26:51 +00:00
warren%netscape.com
9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
gordon%netscape.com
147e0974f0 Update for changes to Windows makefiles. 1999-07-07 00:59:20 +00:00
warren%netscape.com
049749ca7d Fixed GetContentType method to work. 1999-07-03 05:48:45 +00:00
warren%netscape.com
5f19b87347 Added missing uuid. 1999-07-03 04:53:14 +00:00
waterson%netscape.com
246d9f8ee8 Ensure all control paths return a value. 1999-07-03 03:54:28 +00:00
valeski%netscape.com
c59b3c8f0b added mime type mapping to file 1999-07-03 00:59:51 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00