Commit Graph

141 Commits

Author SHA1 Message Date
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
briano%netscape.com
08f1c2c699 Removed the obsolete non-NECKO leftovers.
git-svn-id: svn://10.0.0.236/trunk@46475 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:59:41 +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
bruce%cybersight.com
703953a71c Change delete[] of nsEscape() result to nsCRT::free().
git-svn-id: svn://10.0.0.236/trunk@46011 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 16:37:24 +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
warren%netscape.com
3204c8352c Fix case where suspended file transport terminates early. Fixes missing Help menu and toolbar problem.
git-svn-id: svn://10.0.0.236/trunk@45414 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:31:39 +00:00
warren%netscape.com
90f71e2680 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).
git-svn-id: svn://10.0.0.236/trunk@45357 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 21:47:30 +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
warren%netscape.com
f42f069d47 Ported to the new nsPipe2 implementation.
git-svn-id: svn://10.0.0.236/trunk@44808 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 10:33:37 +00:00
rjc%netscape.com
608cd6c4d8 When enumerating a folder's contents, don't resolve aliases, and don't return hidden files/folders.
git-svn-id: svn://10.0.0.236/trunk@44710 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:42:23 +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
waterson%netscape.com
1d6e2502a8 Fix compiler warning.
git-svn-id: svn://10.0.0.236/trunk@44638 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 04:28:14 +00:00
jdunn%netscape.com
ac51b056a6 HP requires a newline at the end
git-svn-id: svn://10.0.0.236/trunk@44517 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:21:22 +00:00
dougt%netscape.com
3986620a66 fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@44406 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 00:19:00 +00:00
dougt%netscape.com
d9427f7af6 Fix for bug 10435. Everything except CopyFrom() and MoveFrom()
git-svn-id: svn://10.0.0.236/trunk@44391 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:30:59 +00:00
waterson%netscape.com
06eafa1f9d Okay, checking back in my fix for the filespec and iterator.
git-svn-id: svn://10.0.0.236/trunk@44375 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:08:55 +00:00
waterson%netscape.com
e320e03b0d Backed out per don's request.
git-svn-id: svn://10.0.0.236/trunk@44332 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 20:07:12 +00:00
waterson%netscape.com
f0be95271d Can't keep a ref to iterator's filespec, and then advance the iterator; need to make a copy.
git-svn-id: svn://10.0.0.236/trunk@44329 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 19:58:07 +00:00
waterson%netscape.com
74c3a36f86 Add some commentary.
git-svn-id: svn://10.0.0.236/trunk@44263 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 06:45:06 +00:00
waterson%netscape.com
d91bbeabb7 Oops. Left off the 'file-type' specifier in the '200' line.
git-svn-id: svn://10.0.0.236/trunk@44262 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 06:41:35 +00:00
waterson%netscape.com
6b2785d24c Add nsDirectoryIndexStream to the build.
git-svn-id: svn://10.0.0.236/trunk@44240 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 04:24:35 +00:00
waterson%netscape.com
f6dac19333 Add nsDirectoryIndexStream.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@44238 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 04:23:55 +00:00
waterson%netscape.com
939345c018 Initial revision. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@44222 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 01:32:19 +00:00
mccabe%netscape.com
afea99f4a0 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.


git-svn-id: svn://10.0.0.236/trunk@44096 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:52:07 +00:00
mccabe%netscape.com
0ee0c94bc4 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.


git-svn-id: svn://10.0.0.236/trunk@44059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:26:18 +00:00
warren%netscape.com
894be4eb22 Fix for bug 7682: StringBundle can't load URLs from imap thread.
git-svn-id: svn://10.0.0.236/trunk@43270 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 00:43:48 +00:00
warren%netscape.com
b1b034de2c Fixed problem for large files (or small buffers). Added logging.
git-svn-id: svn://10.0.0.236/trunk@43181 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 08:17:35 +00:00
warren%netscape.com
6bf0c42ecc Returned error when file not found for OpenInputStream.
git-svn-id: svn://10.0.0.236/trunk@42031 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 22:00:17 +00:00
warren%netscape.com
4435768ca9 Removed hack to export to netwerk/dist (used before landing necko).
git-svn-id: svn://10.0.0.236/trunk@41902 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:38:25 +00:00
valeski%netscape.com
47caa42c95 pulled file extension search code and started using new mime mapping method which does it for us
git-svn-id: svn://10.0.0.236/trunk@41759 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:44:29 +00:00
warren%netscape.com
ea0efc8e73 Took out more f*** nsCOMPtrs
git-svn-id: svn://10.0.0.236/trunk@41703 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 07:51:35 +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
beard%netscape.com
175d2aca7a removed special handling of /usr/local/bin/netscape in favor of better solution in resource: URL handler.
git-svn-id: svn://10.0.0.236/trunk@41655 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 01:04:23 +00:00
gagan%netscape.com
cf752b583b Fixes the spaces problem also on the Mac!
git-svn-id: svn://10.0.0.236/trunk@41570 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 01:17:29 +00:00
gagan%netscape.com
cab1eacb84 Fixed the spaces problem. File path is now unescaped before being handed over to file spec.
git-svn-id: svn://10.0.0.236/trunk@41568 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 00:55:35 +00:00
sdagley%netscape.com
5786f41727 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.
git-svn-id: svn://10.0.0.236/trunk@41565 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 00:37:58 +00:00
mscott%netscape.com
5a2e9230b1 fix build breakage...include config.mak
git-svn-id: svn://10.0.0.236/trunk@41520 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 02:49:02 +00:00
warren%netscape.com
2c5e794352 Fixed mismatched delete problem (purify).
git-svn-id: svn://10.0.0.236/trunk@41418 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:05:10 +00:00
beard%netscape.com
c0d3140ca8 Makes resource URLs work, by special-casing "/usr/local/netscape/bin" on the Mac. This should probably be moved elsewhere, but works for now.
git-svn-id: svn://10.0.0.236/trunk@41058 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 18:39:41 +00:00
mscott%netscape.com
6f0592ea4d 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


git-svn-id: svn://10.0.0.236/trunk@40842 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 06:16:37 +00:00
gagan%netscape.com
fe009512c7 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.
git-svn-id: svn://10.0.0.236/trunk@40697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:14:51 +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
rickg%netscape.com
541f805b78 switch to faster string search API
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:29:56 +00:00
mscott%netscape.com
79bc4b9326 Add support for honoring the offset parameter on AsynchRead by seeking to the offset position in the file before
reading.


git-svn-id: svn://10.0.0.236/trunk@39786 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:29:12 +00:00
valeski%netscape.com
821a5628a1 mime map api change
git-svn-id: svn://10.0.0.236/trunk@39765 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:00:11 +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
rpotts%netscape.com
6360d82341 Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp
git-svn-id: svn://10.0.0.236/trunk@38999 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 06:21:41 +00:00