Граф коммитов

384 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 2347ef8985 new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 01:27:53 +00:00
dbaron%dbaron.org 954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
timeless%mozdev.org 5b1ce15738 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-11-15 15:24:56 +00:00
darin%netscape.com 5a6ccfaf39 fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts 2002-11-14 20:36:20 +00:00
dougt%netscape.com ccb852037f 102812. enable file html directory listing mode r=bbaetz sr=darin. 2002-11-08 04:46:44 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
darin%netscape.com 7f1956b180 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky 2002-10-06 02:20:35 +00:00
brendan%mozilla.org c5941df10a Dougt didn't fix that tab nit... just for that, I'm stripping trailing spaces too\! 2002-09-29 17:46:18 +00:00
dougt%netscape.com 55fd3921f7 Fixes topcrash 171333 crash at startup in nsFileChannel if chrome modified [@ nsFileChannel::GetFile] r=danm@netscape.com, sr=brendan@mozilla.org 2002-09-29 16:50:08 +00:00
dougt%netscape.com 0f9dcdf87f Fixes File: URL's w/ an illegal drive name do not display fnf errors. r=neeti, sr=darin 2002-09-27 03:13:10 +00:00
dougt%netscape.com 4ce8a1539f Moves uploadStream to nsIUploadChannel. r=neeti@netscape.com, sr=darin@netscape.com, b=100601 2002-09-25 20:15:17 +00:00
dougt%netscape.com b1a0c0cfee Backing out last checkins 2002-09-20 20:06:33 +00:00
dougt%netscape.com 3a9bccb010 adds return result 2002-09-20 19:06:10 +00:00
dougt%netscape.com d1f315a4ae Fixes File: URL's w/ an illegal drive name (4th field) do not show fnf error. b=128909, r=neeti@netscape.com, sr=darin@netscape.com 2002-09-20 19:04:46 +00:00
darin%netscape.com d47b2f5e65 fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
nsIFileProtocolHandler" r=dougt sr=alecf
2002-09-13 19:32:45 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
timeless%mac.com 43e442ad09 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
darin%netscape.com 24fd40bd6f fixes bug 151867 - file channel should implement nsIUploadChannel
r=dougt sr=alecf
2002-08-12 22:44:04 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bryner%netscape.com caa52be426 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
chak%netscape.com 3901b8cfee Fix for #141247 - Enable HTML dir listings
r=dougt, sr=darin
2002-04-30 20:48:15 +00:00
darin%netscape.com edab6546f5 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 23:33:19 +00:00
darin%netscape.com 171c8b28ee backing out changes (for bug 116365) to fix btek page-loader crash. 2002-03-26 08:47:10 +00:00
darin%netscape.com f2d3a0287d fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 06:54:07 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
rpotts%netscape.com a51b380443 reverting to rev 1.115 to fix blocker bug #123572 2002-02-06 00:28:51 +00:00
rpotts%netscape.com 4b6fa54f90 bug #122150 (r=jst@netscape.com, sr=darin@netscape.com) File transport was using the wrong nsIProgressEventSink when firing notifications... 2002-02-05 04:42:25 +00:00
darin%netscape.com c2c979f118 possibly fixes bustage on objdir tinderbox's 2002-01-31 23:15:03 +00:00
darin%netscape.com ca55a4a033 fixes win32 bustage 2002-01-31 23:05:20 +00:00
darin%netscape.com 1904aa83de fixes bug 118651 "nsIFileURL.file needs to return nsIFile that was set"
r=dougt, sr=rpotts
2002-01-31 22:17:35 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
darin%netscape.com b62cc47e43 removing dead, empty file 2002-01-30 02:29:51 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
darin%netscape.com 5a2d9f0d2d checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
alecf%netscape.com 8bf5905937 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
darin%netscape.com a986d9459f fixes bug 93582 "nsFileChannel::AsyncOpen synchronously stat's the file before returning"
r=gordon, sr=dougt
2001-08-16 06:47:32 +00:00
andreas.otte%primus-online.de 6917b5d061 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
dougt%netscape.com d502e60114 Fixes crash 92604 submitted by tingley@sundell.net, sr=me, a=blizzard@redhat.com 2001-07-30 17:40:56 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
dougt%netscape.com e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
dougt%netscape.com 040e3083cc Fix for 80101. minor optimization in GetName(). submitted by sfraser@netscape.com, sr=dougt@netscape.com 2001-05-18 06:17:00 +00:00
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
valeski%netscape.com f3c5380747 sr=darin. no bug. just dead wood static cid cleanup 2001-04-13 11:23:11 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
cls%seawood.org 979c006ff6 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
disttsc%bart.nl 385f89696c Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=jag, sr=dougt
2001-03-24 22:57:35 +00:00
dougt%netscape.com 3975dd1e74 fix for 69143. This patch prevents non existant files from entering into
the file transport process loop for reading.
2001-03-21 19:44:23 +00:00
dougt%netscape.com c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
bryner%uiuc.edu 8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com 128f95aa9b 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
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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
2001-02-10 00:16:26 +00:00
darin%netscape.com 6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
dougt%netscape.com 803ef26399 50558. check for nulls. written by warren harris r=dougt@netscape.com a=mscott@netscape.com 2000-11-30 21:14:41 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
mscott%netscape.com 259e029521 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
2000-09-08 00:21:44 +00:00
dp%netscape.com cd61ae1fd7 bug# 49786 Setting up file protocol handler to support weak ref. 2000-08-22 06:06:42 +00:00
warren%netscape.com e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
warren%netscape.com 2b01440bc0 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 2000-07-25 05:45:56 +00:00
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
warren%netscape.com 7982bac600 Fixed warning. 2000-07-11 09:46:51 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
valeski%netscape.com f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com 88151adad6 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:39:45 +00:00
rpotts%netscape.com 6fb0aa314b 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... 2000-06-02 05:19:16 +00:00
brade%netscape.com 7c6a2b6db7 File Removed. 2000-05-25 17:43:06 +00:00
warren%netscape.com 3658e33085 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp 2000-05-25 08:27:40 +00:00
dveditz%netscape.com f71a600908 use threadsafe ISupports 2000-05-08 07:46:16 +00:00
warren%netscape.com 185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
andreas.otte%primus-online.de e365632082 first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com 2000-05-05 23:39:25 +00:00
gagan%netscape.com e760a6c370 Fix for bug 37238. We were guessing the mime type incorrectly. 2000-05-04 00:57:58 +00:00
slamm%netscape.com ab6e3eb4e6 Fix declaration order to quiet build warning 2000-04-26 14:31:01 +00:00
warren%netscape.com 4d06e7376a Fixed RemoveChannel problem. 2000-04-13 10:02:32 +00:00
warren%netscape.com 503913645b Added some cleanup. 2000-04-13 09:30:09 +00:00
warren%netscape.com c544ed30ef Factoring stream i/o operations into nsIStreamIO interface. 2000-04-13 09:20:50 +00:00
warren%netscape.com 2979b9b4c6 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. 2000-04-12 07:58:24 +00:00
warren%netscape.com e3f8423ef9 Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091. 2000-04-04 08:49:49 +00:00
cls%seawood.org cd487cbabb Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
warren%netscape.com 727f312b32 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. 2000-03-29 03:58:50 +00:00
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
ruslan%netscape.com 2f6f7277b0 Fix multithreadness assert in the file channel, r=warren 2000-03-14 03:18:26 +00:00
valeski%netscape.com f5768f57da r=andreas. a=jevering. fixing leaky sieve. Another example of where a comptr saves the day. 2000-02-23 20:19:46 +00:00
valeski%netscape.com 8dc8022117 getting the rest of necko to use the mimetypes file. also added protection for UA string setup 2000-02-09 05:04:52 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
sdagley%netscape.com 813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mcafee%netscape.com 1d87346332 Fixing solaris bustage, include ordering problem? r=dougt 2000-01-25 01:27:28 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
rpotts%netscape.com be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
sspitzer%netscape.com d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
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